646 Commits

Author SHA1 Message Date
rightnao
76936c42c4 [BottomNavigationBar] Update catalog demo to demonstrate adaptive bottom navigation bar
PiperOrigin-RevId: 723671728
2025-02-06 14:24:13 +00:00
rightnao
43d89adebe [Docs] Fix typo in Floating Toolbar docs
PiperOrigin-RevId: 721837480
2025-02-03 17:52:15 +00:00
pubiqq
660423f5a2 [Slider] Add new tick visibility modes
Resolves https://github.com/material-components/material-components-android/pull/2897

GIT_ORIGIN_REV_ID=82e11301b0ecf48b7d8486e8b29954bd1c4aebe8
PiperOrigin-RevId: 720997942
2025-01-31 15:20:30 +00:00
rightnao
85c4e0fc36 [FloatingToolbar] Floating toolbar should not enforce disappear on scroll behaviour within CoordinatorLayouts
PiperOrigin-RevId: 719361862
2025-01-27 21:01:02 +00:00
manabu-nakamura
c3724366b8 [Docs] update DatePicker.md
Resolves https://github.com/material-components/material-components-android/pull/4550

GIT_ORIGIN_REV_ID=6f20a2118ef3bf9faf957e3b6a65dbc4bc55c544
PiperOrigin-RevId: 719354980
2025-01-27 21:00:04 +00:00
pubiqq
b8af5185c9 [Search] Expose toolbar customization attributes
Resolves https://github.com/material-components/material-components-android/pull/4337

GIT_ORIGIN_REV_ID=c3c917f7bfcaab9e3a36424898cd45951ab06f32
PiperOrigin-RevId: 719283825
2025-01-24 18:41:03 +00:00
manabu-nakamura
522c9dc2e7 [Documentation] Update shape references in TextField.md and Card.md.
Resolves https://github.com/material-components/material-components-android/pull/4475
Resolves https://github.com/material-components/material-components-android/pull/4480

GIT_ORIGIN_REV_ID=798574d72daa041cca177015c5510e8ae2e2a59e
PiperOrigin-RevId: 717879277
2025-01-21 16:52:41 +00:00
rightnao
a798a82e0b [NavigationRail] Add attributes for expanded active indicator padding
PiperOrigin-RevId: 715573480
2025-01-15 20:07:23 +00:00
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