964 Commits

Author SHA1 Message Date
rightnao
5cb1500477 [Catalog] Update List docs and demo to be more clear on the primary action triggered corresponding with the growing element in the list swipe for a11y
Resolves https://github.com/material-components/material-components-android/issues/4992

PiperOrigin-RevId: 854315377
2026-01-12 16:17:32 +00:00
hunterstich
71f014fa41 [Snackbar] Added optional close icon
PiperOrigin-RevId: 845256053
2025-12-17 14:23:55 +00:00
rightnao
d5934ee5ba [Lists] Support skipping the open swipe state so clients can go straight to the primary action
PiperOrigin-RevId: 843871144
2025-12-15 13:55:28 +00:00
rightnao
cad79edd74 [List] Update docs
PiperOrigin-RevId: 836747924
2025-12-02 15:02:11 +00:00
Material Design Team
0153138811 [FloatingActionButton] Allow collapsed size to be set.
PiperOrigin-RevId: 834422708
2025-11-24 12:41:08 -08:00
rightnao
235e8cfe71 Automated g4 rollback of changelist 816428327
PiperOrigin-RevId: 831030528
2025-11-17 21:04:30 +00:00
rightnao
4e4e8f3388 [BottomSheet] Add support for Nested Scrolling with multiple nested scroll children.
PiperOrigin-RevId: 817350806
2025-10-10 19:10:21 +00:00
rightnao
d35634cfd2 Automated g4 rollback of changelist 814296973
PiperOrigin-RevId: 816428327
2025-10-10 18:08:04 +00:00
Material Design Team
1390517450 [Docs] Update images in Chip, Button, and Extended FAB.
PiperOrigin-RevId: 815553162
2025-10-07 19:53:37 +00:00
rightnao
9366a84020 [Search] Block keyboard focus on other views when SearchView is open
PiperOrigin-RevId: 814296973
2025-10-07 19:51:36 +00:00
Material Design Team
80106b57f1 Internal change
PiperOrigin-RevId: 809882647
2025-09-24 21:32:06 +00:00
manabu-nakamura
14cb33b3ca [Docs] rename buttongroup-overflow-menu.png to buttongroup-overflow-wrap.png (add buttongroup-overflow-menu.png)
Resolves https://github.com/material-components/material-components-android/pull/4924

GIT_ORIGIN_REV_ID=6ed5f8c022f5ecc3fc2a94257e91401fc5d6d464
PiperOrigin-RevId: 808655421
2025-09-24 20:23:48 +00:00
pekingme
7c66a2ef94 [ButtonGroup] Added the "wrap" overflow mode.
If the "wrap" overflow mode is in use, the button group will wrap the buttons that don't fit in one row to more rows below.

PiperOrigin-RevId: 800551513
2025-08-29 11:44:37 -07:00
Material Design Team
9e1c68d6f2 [Docs] Removed the default style and updated the theme attribute code for non-default
PiperOrigin-RevId: 800259127
2025-08-29 11:43:03 -07:00
Material Design Team
fca1418bf4 [Docs] Updated documentation with Expressive code/info for:
Bottom Navigation
Common Button
Docked Toolbar
Extended Floating Action Button
Floating Action Button
Floating Toolbar
Navigation Drawer

PiperOrigin-RevId: 799044938
2025-08-27 13:40:11 -07:00
Material Design Team
cc2390f1a2 [Docs] Updated documentation with additional code/info and updated the nomenclature of images in the following docs:
1. BottomSheet
2. Checkbox
3. DatePicker
4. Divider
5. Menu
6. RadioButton
7. Snackbar
8. TimePicker

PiperOrigin-RevId: 799044653
2025-08-27 13:39:23 -07:00
Material Design Team
2b29a266ad [Docs] Updated docs with Expressive code/info.
PiperOrigin-RevId: 798982415
2025-08-27 13:38:19 -07:00
rightnao
fe1c0d6ca1 [Catalog][NavigationDrawer] Update nav drawer demo to use dispatchKeyEvent instead of onKeyDown since onKeyDown can sometimes be consumed by a view with focus
PiperOrigin-RevId: 797825692
2025-08-27 13:36:35 -07:00
rightnao
ab86a01e9f [Lists] Added segmented list style, public attrs, and catalog demos
PiperOrigin-RevId: 793796271
2025-08-20 14:48:46 +00:00
pekingme
ac82767b56 [LoadingIndicator] Added showDelay and minHideDelay attribute.
Resolves https://github.com/material-components/material-components-android/issues/4799

PiperOrigin-RevId: 793449299
2025-08-20 14:48:01 +00:00
Material Design Team
2f3d4f9efe [Docs] Updated the nomenclature of images and removed unused images.
PiperOrigin-RevId: 791194140
2025-08-08 17:46:44 +00:00
Material Design Team
19838048f3 [doc] Updated vertical floating toolbar image in the hero section
PiperOrigin-RevId: 791022751
2025-08-08 17:42:49 +00:00
dsn5ft
015e0534e1 [Toolbar] Add support for navigation button with circle background
PiperOrigin-RevId: 790777821
2025-08-04 20:30:43 +00:00
Material Design Team
8c02325d68 [Docs] Updated Top App Bar doc to make it more user friendly
PiperOrigin-RevId: 789605036
2025-08-01 18:37:10 +00:00
Material Design Team
a1415a7c84 [Docs] Updated docs with Expressive code/info.
PiperOrigin-RevId: 788757526
2025-07-30 17:10:25 +00:00
Material Design Team
2f64a3f228 [Overflow linear layout] Fixed a table markdown issue in the Overflow linear layout documentation that was causing rendering problems on GitHub
PiperOrigin-RevId: 788298933
2025-07-29 19:51:03 +00:00
Material Design Team
2921b9c311 [Navigation rail ] Updated Navigation Rail doc to make it more user friendly
PiperOrigin-RevId: 788282805
2025-07-29 19:50:22 +00:00
Material Design Team
b70c46b9ff [Docs] Deleted unused images in the following docs:
1. Text fields
2. Tabs
3. Slider
4. FABs
5. Extended FABs
6. Common buttons

PiperOrigin-RevId: 787990793
2025-07-28 14:26:34 +00:00
Material Design Team
b7918715d4 [Docs] Updated Search doc to make it more user friendly
PiperOrigin-RevId: 787905462
2025-07-28 14:25:54 +00:00
Material Design Team
f30f5d8809 [Loading Indicator] Update documentation to align with Material 3 spec.
Restructures the LoadingIndicator component documentation to improve clarity, add more context, and align with Material 3.

- Adds a Table of Contents for better navigation.
- Links to the official M3 spec for overview and guidelines.
- Adds new sections for Anatomy and M3 Expressive with corresponding images.
- Improves the component definition and clarifies usage.

PiperOrigin-RevId: 787630502
2025-07-28 14:25:14 +00:00
Material Design Team
b4e08ad1e1 [Docs] Updated Floating Toolbar doc to make it more user friendly
PiperOrigin-RevId: 787618839
2025-07-28 14:24:41 +00:00
Material Design Team
e05d3ee018 [Docs] Resolved images rendering issue on GitHub by removing "" from the alt text and fixed table rendering issue
PiperOrigin-RevId: 787059303
2025-07-28 14:24:11 +00:00
Nik Clayton
5e7e8238f7 [BottomSheet] Delete duplicate "Handling insets and fullscreen" section
Duplicate to L358-374.

Resolves https://github.com/material-components/material-components-android/pull/4864

GIT_ORIGIN_REV_ID=84ed4dbe6fd64e69a16f84e9f56bd5b95a9df851
PiperOrigin-RevId: 785869465
2025-07-24 18:34:43 +00:00
Material Design Team
bfb067b595 [Docs] Deleted unused images in the following docs:
1. Bottom sheets
2. Cards
3. Chips
4. Dividers
5. Menus
6. Navigation drawer
7. Search
8. Snackbar
9. Switch
10. Time picker
11. Date picker

PiperOrigin-RevId: 785515504
2025-07-24 18:30:17 +00:00
pekingme
24cddabbb8 [ProgressIndicator] Added APIs for customizing wave amplitude ramping.
PiperOrigin-RevId: 784177043
2025-07-17 20:47:27 +00:00
Material Design Team
7a189d5a2e [Badges] Restructure the documentation for clarity.
PiperOrigin-RevId: 784014681
2025-07-17 20:46:21 +00:00
Material Design Team
3d43f71203 [Progress Indicators] Resolved video rendering issue on GitHub by replacing mp4 files with gif files and using the markdown syntax.
PiperOrigin-RevId: 784014231
2025-07-17 20:45:41 +00:00
Material Design Team
1cbf701877 [Docs] Updated Slider doc to make it more user friendly
PiperOrigin-RevId: 783601583
2025-07-16 18:57:23 +00:00
Material Design Team
abb48f9e0d [Docs] Updated Docked Toolbar doc to make it more user friendly and created the Toolbars doc for hierarchy.
PiperOrigin-RevId: 782898935
2025-07-16 18:56:00 +00:00
dsn5ft
b3b131453b [Docs] Delete unused fab_large.png asset
PiperOrigin-RevId: 781604141
2025-07-10 18:24:12 +00:00
Material Design Team
3745752e4d [Button groups and Date picker] Fixed a table markdown issue in the button group and date picker documentation that was causing rendering problems on GitHub
PiperOrigin-RevId: 781355255
2025-07-10 18:20:17 +00:00
Material Design Team
cc069ed55a [Common button] Resolved an image rendering issue on GitHub by adding a space within the image tag
PiperOrigin-RevId: 781050369
2025-07-09 15:34:39 +00:00
Material Design Team
d688dbaa87 [Toggle button group] Applied bold formatting to the note because it was not rendering correctly on GitHub
PiperOrigin-RevId: 781049719
2025-07-09 15:33:30 +00:00
rightnao
1f10e0bbb9 [NavigationDrawer] Update demos to close drawers on esc key press and add guidance in docs
PiperOrigin-RevId: 780327427
2025-07-09 15:32:51 +00:00
Material Design Team
94c57efcdf [Docs] Updated Divider doc to make it more user friendly
PiperOrigin-RevId: 779156614
2025-07-09 15:30:55 +00:00
Material Design Team
b85dd1a4fa [Docs] Updated Progress Indicators doc to make it more user friendly
PiperOrigin-RevId: 778343857
2025-07-02 11:41:27 -07:00
Material Design Team
cfb541eb8e [Docs] Updated Checkbox doc to make it more user friendly.
PiperOrigin-RevId: 777888406
2025-07-02 11:40:39 -07:00
Material Design Team
b1e90f5b27 [Docs] Updated Navigation Bar doc to make it more user friendly
PiperOrigin-RevId: 777858201
2025-07-02 11:39:20 -07:00
Material Design Team
b84b33521a [Docs] Updated Button doc to make it more user friendly.
We have kept the Button file as the navigation file and have split the content into the following five pages:
1. Common button
2. Button group
3. Toggle button group
4. Icon button
5. Split button

This structure is inline with the M3 spec doc.

PiperOrigin-RevId: 777529719
2025-06-30 14:30:10 +00:00
Material Design Team
362c64cb71 [Docs] Updated Overflow Linear Layout doc to make it more user friendly
PiperOrigin-RevId: 777433598
2025-06-30 14:23:51 +00:00