638 Commits

Author SHA1 Message Date
pekingme
76d4e85794 [ButtonGroup] Updated images in dev doc.
PiperOrigin-RevId: 712859678
2025-01-07 14:34:48 +00:00
rightnao
05f8c52342 [FloatingToolbar] Add inset handling
PiperOrigin-RevId: 712737242
2025-01-07 14:32:21 +00:00
manabu-nakamura
f5b871a8ef [Docs] update Chip.md
Resolves https://github.com/material-components/material-components-android/pull/4478

GIT_ORIGIN_REV_ID=c4165c3482e4752d223596bb2a6bc0eb0173671c
PiperOrigin-RevId: 712659303
2025-01-07 14:31:01 +00:00
manabu-nakamura
ddbfe29203 [Docs] update BottomAppBar.md
Resolves https://github.com/material-components/material-components-android/pull/4528

GIT_ORIGIN_REV_ID=547b66c8fc3ef7bc2bf974e3620cf2b2cb7cf824
PiperOrigin-RevId: 712610340
2025-01-07 14:24:03 +00:00
manabu-nakamura
5dfed19035 [Docs][TabLayout] update Tabs.md
Resolves https://github.com/material-components/material-components-android/pull/4515

GIT_ORIGIN_REV_ID=864426c71a9cbc53e0d166bc54a5c8dbb716429d
PiperOrigin-RevId: 712585239
2025-01-07 14:11:02 +00:00
manabu-nakamura
37a85c3b29 [Docs] update BottomAppBar.md
Resolves https://github.com/material-components/material-components-android/pull/4476

GIT_ORIGIN_REV_ID=c46c76160a0245e3c9e864ad047d443ef48e4b0c
PiperOrigin-RevId: 711809552
2025-01-03 20:29:33 +00:00
manabu-nakamura
64d61d3987 [Docs] Update SideSheet.md
Resolves https://github.com/material-components/material-components-android/pull/4479

GIT_ORIGIN_REV_ID=6d62887a4237cf3230b560733f1ae58f2617f8d8
PiperOrigin-RevId: 711405858
2025-01-02 14:34:53 +00:00
rightnao
b07e48b576 [FloatingToolbar] Update styles to consolidate horizontal/vertical styles to a single style
PiperOrigin-RevId: 709100303
2024-12-26 19:10:58 +00:00
manabu-nakamura
f29063ef7a [Docs][DatePicker] update DatePicker.md
Resolves https://github.com/material-components/material-components-android/pull/4384

GIT_ORIGIN_REV_ID=aa9dc84695a6ad2026891efe35cc6dc58e325645
PiperOrigin-RevId: 708404155
2024-12-23 18:50:08 +00:00
rightnao
94966194fa [NavigationRail] Add divider functionality for expanded nav rail
PiperOrigin-RevId: 708103452
2024-12-20 18:45:43 +00:00
kendricku
fb47438582 [SplitButton] Update split button image asset to match 3P styling.
PiperOrigin-RevId: 707238103
2024-12-18 00:09:23 +00:00
rightnao
998fe833e2 [Carousel] Change custom Carousel strategies to be restricted visibility in order to refactor custom strategies
PiperOrigin-RevId: 707143621
2024-12-17 22:56:57 +00:00
manabu-nakamura
9e256b6e8b [Docs] update Button.md
Resolves https://github.com/material-components/material-components-android/pull/4445

GIT_ORIGIN_REV_ID=2a3508c02425dbc5c680ced3c1ff96151e4a004b
PiperOrigin-RevId: 706814110
2024-12-16 22:00:29 +00:00
manabu-nakamura
4ca7cc3fdb [Docs] update DatePicker.md
Resolves https://github.com/material-components/material-components-android/pull/4386

GIT_ORIGIN_REV_ID=b98ed8eb5c0f9ae9b65e1fea8ccddb4e4b3f0602
PiperOrigin-RevId: 706764681
2024-12-16 21:59:19 +00:00
manabu-nakamura
8fb6ea3064 [Docs][BottomSheet] not app:enableEdgeToEdge but enableEdgeToEdge
Resolves https://github.com/material-components/material-components-android/pull/4360

GIT_ORIGIN_REV_ID=acf4ee2bd97c7ecb261da9f885ffd654c6b09733
PiperOrigin-RevId: 706762905
2024-12-16 21:55:13 +00:00
rightnao
34d5f63c7d [Docs][Floating Toolbar] Add floating toolbar docs
PiperOrigin-RevId: 703318263
2024-12-10 17:59:19 +00:00
pubiqq
c1c19c8b3a [Internal] Update targetApi suppressions in resources
Resolves https://github.com/material-components/material-components-android/pull/4308

GIT_ORIGIN_REV_ID=8016db9460e4e1013e56a50e541406ff356e2837
PiperOrigin-RevId: 702111281
2024-12-04 23:58:23 +00:00
rightnao
5a8c39a1bf [NavigationRail][BottomNavigation] Add attributes for scaling label text to font size and for the max lines for the label
PiperOrigin-RevId: 700052136
2024-12-02 19:43:03 +00:00
pekingme
73b577dd6a [TopAppBar] Added collapsing subtitle.
PiperOrigin-RevId: 700042153
2024-12-02 19:42:27 +00:00
rightnao
0e9ab6616d [NavigationRail] Integrate tokens
PiperOrigin-RevId: 699328711
2024-12-02 19:41:20 +00:00
rightnao
5f44dbcf4b [NavigationRail][Docs] Update navigation rail docs to include mentions of the expanded nav rail
PiperOrigin-RevId: 699270265
2024-12-02 19:40:30 +00:00
pfthomas
60c09d98a1 [Slider] Add extra track icons support
- added support for start and end track icons
- removed the hide/show track icon logic to let the user implement it for more flexibility
- added demo
- updated tests + doc

PiperOrigin-RevId: 696960630
2024-11-21 17:25:26 +00:00
pekingme
4ec0447978 [ProgressIndicator] Added the API to adjust indeterminate animation duration scale.
PiperOrigin-RevId: 696942118
2024-11-21 17:24:29 +00:00
pfthomas
5bcda8a8d7 [Slider] Add vertical support
- added "orientation" attr allowing for vertical support
- updated tests and doc
- added demo

PiperOrigin-RevId: 695856298
2024-11-21 17:15:02 +00:00
Material Design Team
9c1ae33fdb Automated g4 rollback of changelist 694223692
PiperOrigin-RevId: 694359774
2024-11-11 13:25:21 -08:00
hunterstich
7f2b363d8b [BottomSheet] Made the drag handle clickable to cycle through bottom sheet states.
Clicking on the drag handle will now cycle through the available states as an accessible alternative to swiping.

PiperOrigin-RevId: 694223692
2024-11-11 13:17:40 -08:00
kendricku
9f801b87bc [Button] Add documentation about SplitButton
PiperOrigin-RevId: 691831836
2024-11-05 12:13:39 -08:00
pfthomas
2e95296eac [Slider] Add support for track icons
- added trackIconActive, trackIconActiveSize and trackIconActiveColor attrs
- added trackIconInactive, trackIconInactiveSize and trackIconInactiveColor attrs
- added tests and demos
- updated documentation

PiperOrigin-RevId: 689804000
2024-10-25 18:51:04 +00:00
rightnao
ebcfcd18a9 [NavigationRail][BottomNavigation] Add horizontal spacing attribute for space in between the icon and the text when the item is in the start icon gravity configuration
PiperOrigin-RevId: 688222363
2024-10-22 20:12:15 +00:00
pfthomas
7f4413dc4f [Slider] Make track corner size customizable
- add setTrackCornerSize/getTrackCornerSize to customize the track corners
- simplify track drawing logic for legacy Slider
- add demos

PiperOrigin-RevId: 688146199
2024-10-22 20:10:53 +00:00
rightnao
f09c562eb5 [Docs][BottomSheet] Add more information to BottomSheetDialogFragment docs
PiperOrigin-RevId: 686706770
2024-10-17 16:56:06 +00:00
rightnao
7f01739644 [TextInputLayout] Add hintMaxLines attribute
PiperOrigin-RevId: 685884472
2024-10-15 16:51:14 +00:00
dsn5ft
8eae09d9ac [Doc] Update Menu doc to link to androidx PopupMenu / ListPopupWindow instead of framework
Resolves https://github.com/material-components/material-components-android/issues/4332

PiperOrigin-RevId: 683179105
2024-10-07 14:48:09 +00:00
rightnao
74b5900aaa [Carousel] Make carousel internal classes public to enable custom strategies
PiperOrigin-RevId: 679710469
2024-10-01 18:41:44 +00:00
pubiqq
b77824fcc7 [Internal] Remove pre-Lollipop resources
Resolves https://github.com/material-components/material-components-android/pull/4280

GIT_ORIGIN_REV_ID=88ee02b5c93b51a154503b7a1f1b85ddeea3cb57
PiperOrigin-RevId: 676472901
2024-09-20 19:49:20 +00:00
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