669 Commits

Author SHA1 Message Date
rightnao
4b9df08511 [FloatingToolbar][DockedToolbar] Added m3 styles for buttons and theme overlays
PiperOrigin-RevId: 749086012
2025-04-21 15:53:43 +00:00
pekingme
f61cea5f44 [Button] Added adaptation section in dev doc.
PiperOrigin-RevId: 749080366
2025-04-21 15:44:53 +00:00
kendricku
2667e098db [Button] Added optical center feature.
ORIGINAL_AUTHOR=pekingme

PiperOrigin-RevId: 748415083
2025-04-18 00:14:04 +00:00
Material Design Team
90d73190c2 [Docs] Updated Bottom App Bar doc to make it more user friendly
PiperOrigin-RevId: 748232830
2025-04-18 00:02:40 +00:00
pekingme
870ace37e7 [FAB] Added medium FAB and s/m/l extended FABs to Material3.
PiperOrigin-RevId: 748052437
2025-04-17 23:58:47 +00:00
rightnao
dcfbdff79c [TopAppBar] Add attribute to center based on whole container
PiperOrigin-RevId: 747496721
2025-04-17 23:56:54 +00:00
kendricku
ede1bdcd10 [Button][SplitButton] Updated XML for split button examples in documentation for improved accuracy.
PiperOrigin-RevId: 744726260
2025-04-17 23:51:58 +00:00
rightnao
548c15cb40 [SearchBar][SearchView] Add maxWidth attribute and fix SearchBar/SearchView animations to be more flexible in hierarchy
PiperOrigin-RevId: 742311708
2025-04-03 19:23:16 +00:00
rightnao
f223b26e2e [FloatingToolbar][DockedToolbar] Integrate tokens and add m3 styles
PiperOrigin-RevId: 741220809
2025-03-31 14:42:03 +00:00
pfthomas
cd909c2b7d [Slider] Add centered configuration
- add attr `centered` to enable the new centered configuration, see https://m3.material.io/components/sliders/overview#227dd2d1-8be6-4646-b8e6-f05bbac583e5
- prevent drawing the ticks in the gap spaces around the thumb and under it for better visuals

PiperOrigin-RevId: 741161174
2025-03-27 15:42:51 +00:00
hunterstich
9b440028b8 Automated g4 rollback of changelist 694359774
PiperOrigin-RevId: 740806136
2025-03-27 15:42:02 +00:00
Material Design Team
5a4493906f [3P Views Template - Cards]
We've updated the **Cards** dev doc as a sample template that is easier to scan and read. The current page has endless vertical scroll and appears overloaded with information.

We have made the following changes to the doc:

* Added a TOC that automatically displays sections up to H3 on the right side of the page.
* Revised the content flow to make it more logical.
* Structured the content into collapsible sections to make the doc easily scannable and readable.
* Reduced size of the images to minimize vertical scroll.

PiperOrigin-RevId: 740618817
2025-03-26 17:25:12 +00:00
rightnao
36b285c9e3 [SearchBar] Add a lift on scroll color to SearchBar when used with AppBarLayout
PiperOrigin-RevId: 740478154
2025-03-26 16:20:02 +00:00
pekingme
0b89ef4e65 [ProgressIndicator] Added the customization of setting the stop inidcator padding.
PiperOrigin-RevId: 738518813
2025-03-20 17:46:12 +00:00
dsn5ft
a822f4f4f4 Automated g4 rollback of changelist 738491983
PiperOrigin-RevId: 738517561
2025-03-19 20:29:06 +00:00
dsn5ft
55e27a5b43 [Docs] Add TOC to Button.md
PiperOrigin-RevId: 738491983
2025-03-19 19:39:14 +00:00
rightnao
9c33476db6 [A11y] Move responsibility of disabling hide on scroll to HideViewOnScrollBehavior and BottomAppBar
PiperOrigin-RevId: 738068009
2025-03-19 18:25:25 +00:00
Material Design Team
0c83f50bfc [DockedToolbar] Fix typo in DockedToolbar doc
PiperOrigin-RevId: 735872555
2025-03-17 18:39:15 +00:00
pekingme
2e97dd672e [ProgressIndicator] Added fraction support in track corner radius.
PiperOrigin-RevId: 733576933
2025-03-11 17:47:39 +00:00
rightnao
0641ee59e1 [Searchbar] Add textCentered attribute
PiperOrigin-RevId: 733486317
2025-03-11 17:43:47 +00:00
rightnao
d560705861 [A11y] Prevent hide on scroll when Talkback is on
PiperOrigin-RevId: 728848785
2025-02-20 15:47:18 +00:00
rightnao
08a8893e5d [DockedToolbar] Add 3P docs
PiperOrigin-RevId: 728777341
2025-02-20 15:40:23 +00:00
pekingme
8a23e0d858 [LinearProgressIndicator] Added an track inner corner radius API.
PiperOrigin-RevId: 727060418
2025-02-18 10:24:08 -08:00
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