770 Commits

Author SHA1 Message Date
rightnao
9451acdb05 [Badge] Add badgeFixedEdge attribute to BadgeDrawable.
By default, badges are fixed at their start edge (meaning they grow towards the end). If using a badgeGravity corresponding to the start, you will need to update to badgeFixedEdge=end to maintain the same grow towards the start behavior as before

PiperOrigin-RevId: 632236586
2024-05-13 15:48:21 +00:00
katsutomu
fdc7472d49 [Doc][Divider] Fix wrong divider color
Resolves https://github.com/material-components/material-components-android/pull/4027

GIT_ORIGIN_REV_ID=9668d40e122d53edccc7ad97d282b0e39676d5bf
PiperOrigin-RevId: 632165113
2024-05-09 18:49:47 +00:00
rightnao
0d265b7ca5 [Badge] Deprecate autoAdjustToGrandparentBounds attribute since now badges automatically move within first ancestor view that does not clip children
PiperOrigin-RevId: 630215388
2024-05-03 19:29:13 +00:00
dsn5ft
5b6cf5518e [Docs] Update Getting Started instructions with latest requirements and info
PiperOrigin-RevId: 629732598
2024-05-02 15:35:17 +00:00
pekingme
fb4761cc20 [ButtonToggleGroup] Added APIs to customize inside spacing and corner size between buttons.
PiperOrigin-RevId: 628469557
2024-04-29 19:03:54 +00:00
dsn5ft
a35b6b835c [Bottom Sheet] Add ability to disable dragging/expanding/collapsing the sheet when touching/scrolling the nested scrolling child view
PiperOrigin-RevId: 624204480
2024-04-12 20:03:30 +00:00
hunterstich
0a21fe77d0 [Dialog] Updated docs to have a short description of each available dialog theme overlay
Resolves https://github.com/material-components/material-components-android/issues/4121

PiperOrigin-RevId: 620282852
2024-04-02 14:55:44 +00:00
pfthomas
f3a93d09a9 [NTC][Slider] Make tick size defaults to the stop indicator size if set
PiperOrigin-RevId: 617609939
2024-03-20 22:36:53 +00:00
dsn5ft
22de817c30 [Docs] Internal change
PiperOrigin-RevId: 613673995
2024-03-07 20:52:14 +00:00
pekingme
46fa6465fe [Cleanup] Internal change
PiperOrigin-RevId: 608668937
2024-02-29 08:27:55 -08:00
Material Design Team
5471b8d37a Internal change
PiperOrigin-RevId: 607976596
2024-02-26 13:44:54 -08:00
CWorld
b80efdd3cb [Doc][TopAppBar] Detailed description of code example for collapsing toolbar style
Resolves https://github.com/material-components/material-components-android/pull/3915

GIT_ORIGIN_REV_ID=88bb0c690dc9fb8386165acfffcf9d18ae897f1d
PiperOrigin-RevId: 601582020
2024-01-26 21:29:09 +00:00
leticiars
d73b3a47be [Doc] Update icon button section of Buttons doc.
Resolves https://github.com/material-components/material-components-android/issues/3996

PiperOrigin-RevId: 600464809
2024-01-22 18:28:45 +00:00
manabu-nakamura
6cb921b7dd [Docs] Fix misspelling in Color doc.
Resolves https://github.com/material-components/material-components-android/pull/4012
Resolves https://github.com/material-components/material-components-android/issues/4011

GIT_ORIGIN_REV_ID=76aff477a4365c2a048790f33c72dcaa661d901b
PiperOrigin-RevId: 600461138
2024-01-22 18:27:59 +00:00
pfthomas
a641e18b6a [NTC][Slider] Update documentation
PiperOrigin-RevId: 597297222
2024-01-10 19:01:14 +00:00
pfthomas
7e9318e2c3 [NTC][ProgressIndicator] Update documentation
PiperOrigin-RevId: 597032677
2024-01-10 18:25:22 +00:00
pekingme
bb351291a3 [Color] Added a section in the doc for proper tonal surface color resolving.
PiperOrigin-RevId: 596123728
2024-01-09 20:05:45 +00:00
dsn5ft
0748414a1d [Docs][Button] Add note about MaterialButton icon button performance and alternatives
PiperOrigin-RevId: 591042198
2023-12-15 20:42:06 +00:00
dsn5ft
90d6583577 [Search] Update demos and doc to use AppBarLayout app:statusBarForeground in order to avoid overlap between SearchBar and status bar content
Resolves https://github.com/material-components/material-components-android/issues/3103
Resolves https://github.com/material-components/material-components-android/issues/3358
Resolves https://github.com/material-components/material-components-android/pull/3914
Resolves https://github.com/material-components/material-components-android/pull/3875

PiperOrigin-RevId: 590953070
2023-12-14 18:21:06 +00:00
Biswapriyo Nath
90e15d819a [Docs] Fix API reference link of FloatingActionButton
Resolves https://github.com/material-components/material-components-android/pull/3919

GIT_ORIGIN_REV_ID=a6fa54af8db6c86c9a73405c0664ad52a022016c
PiperOrigin-RevId: 590268674
2023-12-13 16:28:26 +00:00
rightnao
9e64a1f5f6 [Carousel][Docs] Recommend snapping for multi-browse strategy
PiperOrigin-RevId: 588114790
2023-12-05 22:41:20 +00:00
dsn5ft
dfa474fdc7 [Docs] Remove broken link from Search doc
Resolves https://github.com/material-components/material-components-android/issues/3872

PiperOrigin-RevId: 585651225
2023-11-27 17:35:51 -05:00
pfthomas
bc5987379e [NTC][ProgressIndicator] Internal changes
PiperOrigin-RevId: 581401427
2023-11-13 15:12:51 +00:00
pfthomas
42466721ca [NTC][Slider] Internal changes
PiperOrigin-RevId: 581303119
2023-11-13 14:56:39 +00:00
rightnao
92a5444de9 [Carousel] Add attributes to change small item size
PiperOrigin-RevId: 580249803
2023-11-08 15:13:51 +00:00
pekingme
5055507303 [Doc] Updated color table to color values for v34.
PiperOrigin-RevId: 579990899
2023-11-08 15:13:11 +00:00
pubiqq
81d1b772b9 [Theme] Add NoActionBar dynamic color themes
Resolves https://github.com/material-components/material-components-android/pull/3636

GIT_ORIGIN_REV_ID=ab4463028a14e4d4fbd3a613c4c402b8de39f552
PiperOrigin-RevId: 578900644
2023-11-06 13:58:24 +00:00
dsn5ft
ad2b5f8f8b [Docs][Predictive Back] Add note to clarify that automatic back handling in components is only for API 33+
Related to https://github.com/material-components/material-components-android/issues/3637

PiperOrigin-RevId: 574505672
2023-10-19 11:30:40 -07:00
dsn5ft
b8b1a662de [Docs] Update Predictive Back doc to recommend 1.10.0 stable version
PiperOrigin-RevId: 571086243
2023-10-10 10:07:30 -07:00
dsn5ft
a01a68de2d [Docs] Update doc to explain how to allow Top App Bar to grow taller in response to system font setting
PiperOrigin-RevId: 569238836
2023-10-02 13:38:50 +00:00
rightnao
247240c3cd [Docs][Carousel] Fix carousel docs
PiperOrigin-RevId: 567342773
2023-09-26 17:38:01 +00:00
rightnao
9ee4aba007 [Docs][Carousel] Add uncontained variant docs
PiperOrigin-RevId: 566796652
2023-09-20 12:31:46 +00:00
pubiqq
d7e75bba59 [Docs] Minor code block improvements
Resolves https://github.com/material-components/material-components-android/pull/3570

GIT_ORIGIN_REV_ID=ca0c9b122e669dd53ba4fbe1a06b3ec3e38ce58d
PiperOrigin-RevId: 564766453
2023-09-13 10:56:59 -04:00
dsn5ft
569ddac527 [AppBarLayout] Fix dynamic status bar foreground lift on scroll color when using Tonal Surface Color
Resolves https://github.com/material-components/material-components-android/issues/3530

PiperOrigin-RevId: 564364138
2023-09-12 10:47:09 -04:00
rightnao
caec8d2849 [Docs][Carousel] Add guidance in fullscreen strategy docs about portrait orientation
PiperOrigin-RevId: 563087886
2023-09-06 10:55:32 -04:00
rightnao
0582b1a094 [Docs][Chip] Update chip documentation to use setOnCheckedStateChangeListener instead of setOnCheckedChangeListener which was deprecated in favour of the former
Resolves https://github.com/material-components/material-components-android/issues/3536

PiperOrigin-RevId: 560125494
2023-08-25 19:22:38 +00:00
rightnao
44bfe2ddb8 [Docs][Button] Update example in docs to use colorContainer and colorOnContainer instead of colorPrimary and colorOnPrimary.
Resolves https://github.com/material-components/material-components-android/issues/3526

PiperOrigin-RevId: 558196799
2023-08-18 22:34:29 +00:00
pekingme
9a4c21d77a [Doc] Updated Color dev doc with tonal surface colors.
PiperOrigin-RevId: 557630134
2023-08-17 22:28:22 +00:00
pekingme
2114a11378 [Docs] Updated dev doc for tonal surface colors in affected components.
PiperOrigin-RevId: 556901517
2023-08-14 20:55:38 +00:00
hunterstich
4c89301330 [BackLayer] Delete BackLayer component
PiperOrigin-RevId: 550566624
2023-07-24 17:12:43 +00:00
pfthomas
db9a6412ec [MaterialSwitch] Amendments to thumb icon size support
Resolves https://github.com/material-components/material-components-android/pull/3364

PiperOrigin-RevId: 549627031
2023-07-20 22:17:48 +00:00
rightnao
547156e497 [Carousel] Add carousel alignment attribute
PiperOrigin-RevId: 548719675
2023-07-18 16:50:16 +00:00
Material Design Team
1d3b8e136d [M3][Color] Updated contrast documentation
PiperOrigin-RevId: 547823926
2023-07-17 15:56:24 +00:00
rightnao
7c40359d2b [Carousel][Docs] Adding docs for fullscreen carousel strategy
PiperOrigin-RevId: 546350583
2023-07-11 19:37:01 +00:00
afohrman
d440e3c4f8 [Side Sheet][Docs] Add left sheet/sheet edge documentation.
PiperOrigin-RevId: 546308773
2023-07-07 17:58:23 +00:00
u00d6zg\u00fcr G\u00f6rg\u00fcl\u00fc
f91f17bb4f [SideSheet][Docs] Fix mixed language snippet
Resolves https://github.com/material-components/material-components-android/pull/3466

GIT_ORIGIN_REV_ID=dc138fe98bb821da0cdbeba2c33cf95e6e775a61
PiperOrigin-RevId: 546088458
2023-07-07 17:56:25 +00:00
Bowei Ren
7289aa681d [Chip] Fix a typo in attributes table in documentation
Resolves https://github.com/material-components/material-components-android/pull/3457

GIT_ORIGIN_REV_ID=49abeeafcc26b4ac79032da56ec071fd30ee16ea
PiperOrigin-RevId: 546048151
2023-07-07 17:52:22 +00:00
rightnao
1785bbfabe [Docs] Cross-reference m.io and DAC in Github docs
PiperOrigin-RevId: 546035020
2023-07-07 17:50:11 +00:00
rightnao
27abfdba4f [Badge] Deprecate bottom badge gravities and update docs and usages in catalog
PiperOrigin-RevId: 543527285
2023-06-27 18:55:22 +00:00
rightnao
ec509cc734 [Carousel][Docs] Update docs to include hero variant
PiperOrigin-RevId: 543488844
2023-06-27 13:53:04 +00:00