603 Commits

Author SHA1 Message Date
rightnao
cc09ce8d55 [NavigationRail] Add scrollingEnabled attribute and update NavigationRail to have unlimited items when expanded while keeping the limit of 7 items while collapsed, and add demo to catalog
PiperOrigin-RevId: 676208760
2024-09-20 19:42:33 +00:00
pekingme
d1647968b9 [ProgressIndicator] Added top and bottom paddings to ensure the focus indicator (green box with talkback) to draw properly in catalog.
PiperOrigin-RevId: 676047704
2024-09-19 20:28:28 +00:00
rightnao
07d2584c1e [Docs][RadioButton] Update docs to use M3 screenshots
Resolves https://github.com/material-components/material-components-android/issues/4282

PiperOrigin-RevId: 672724449
2024-09-11 15:03:13 +00:00
pubiqq
23aca03255 [Internal] Remove pre-Lollipop checks
Resolves https://github.com/material-components/material-components-android/pull/4266

GIT_ORIGIN_REV_ID=1de7808e66dd6666c893217c76c7499afe2df6a3
PiperOrigin-RevId: 669688797
2024-09-03 13:31:29 +00:00
pekingme
b3e12f9e55 [LoadingIndicator] Fixed links in the dev doc.
PiperOrigin-RevId: 668636052
2024-08-29 18:47:30 +00:00
rightnao
f19ab5e9ce [NavSuite] Token integration
PiperOrigin-RevId: 668568578
2024-08-28 22:37:21 +00:00
rightnao
94e54e4994 [Docs] Update width
Resolves https://github.com/material-components/material-components-android/issues/4270

PiperOrigin-RevId: 668083866
2024-08-28 22:33:17 +00:00
rightnao
179503512f [NavigationView] Add start/end scrim enable/disable methods
PiperOrigin-RevId: 666430643
2024-08-22 19:06:13 +00:00
pekingme
29ce8d32c3 [ButtonGroup] Added a new component ButtonGroup.
PiperOrigin-RevId: 666359073
2024-08-22 19:05:09 +00:00
pekingme
1d4c076a0e [LoadingIndicator] Added a new component.
PiperOrigin-RevId: 663371718
2024-08-16 17:35:28 +00:00
pekingme
4efcf870ff [Button] Refactored the main demo.
PiperOrigin-RevId: 660428578
2024-08-12 12:15:54 -07:00
rightnao
b34fff342b [NavigationBar] Add item gravity attribute and setter/getter
PiperOrigin-RevId: 660062964
2024-08-07 13:52:06 +00:00
pekingme
ef1e1cdbfc [Button] Added corner morph.
PiperOrigin-RevId: 657325202
2024-07-30 09:14:03 -07:00
rightnao
b184df6848 [NavigationBar] Add active indicator attributes to change active indicator height, width, and horizontal margins when it is in an expanded state (ie. when start icon gravity is set to 'start')
PiperOrigin-RevId: 657266378
2024-07-30 09:12:47 -07:00
pekingme
af95f452ed [ProgressIndicator] Added APIs to support different wavelength for determinate and indeterminate modes; and renamed confusing APIs.
PiperOrigin-RevId: 651565924
2024-07-22 18:23:15 +00:00
pekingme
63bb499f98 [ButtonToggleGroup] Renamed insideCorner to innerCorner.
PiperOrigin-RevId: 639864920
2024-06-05 18:30:46 +00:00
rightnao
99e8044f85 [NavigationRail] Add item spacing attribute
PiperOrigin-RevId: 639835301
2024-06-05 18:29:56 +00:00
rightnao
abb6e91a0a [NavigationBar] Add new itemIconGravity attribute
PiperOrigin-RevId: 638866190
2024-06-05 18:24:24 +00:00
rightnao
801ccab0c0 [NavigationRail] Add new attributes for NavigationRail to control the top margin of the nav rail content, and the margin in between the optional header and the menu items
PiperOrigin-RevId: 637957360
2024-06-05 18:22:06 +00:00
Material Design Team
e4f00fda11 Automated g4 rollback of changelist 637051547
PiperOrigin-RevId: 637099379
2024-05-28 16:59:17 +00:00
pekingme
384d58fb98 [Button] Added responsive touch (corner morph).
PiperOrigin-RevId: 637051547
2024-05-25 02:19:11 +00:00
dsn5ft
cb5dc7f5a0 [Docs][Search] Update doc with more info on SearchView EditText and nested content
Resolves https://github.com/material-components/material-components-android/issues/4189

PiperOrigin-RevId: 636998698
2024-05-25 02:07:42 +00:00
pubiqq
9a39e222d8 [Docs] Fix anchors.
Resolves https://github.com/material-components/material-components-android/pull/4015

GIT_ORIGIN_REV_ID=0b4097653df971659ed1526e450bc40030f502e3
PiperOrigin-RevId: 634017580
2024-05-16 14:03:41 +00:00
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
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
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
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
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
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