kendricku
bb90b2010e
[Catalog][SplitButton] Added an onDismissListener to the popup menu to synchronize menu display and button checked state.
...
PiperOrigin-RevId: 748755298
2025-04-18 00:16:01 +00:00
kendricku
2667e098db
[Button] Added optical center feature.
...
ORIGINAL_AUTHOR=pekingme
PiperOrigin-RevId: 748415083
2025-04-18 00:14:04 +00:00
pekingme
3b3822f242
[FAB] Updated catalog demo for Expressive styles.
...
PiperOrigin-RevId: 748340268
2025-04-18 00:04:29 +00:00
hunterstich
005687d1b6
[BottomSheet] Fixed main catalog demo cutting off content when screen size is too small.
...
PiperOrigin-RevId: 742758473
2025-04-07 14:30:22 +00:00
rightnao
3a5861c5cc
[SearchBar] Updated SearchBar styling
...
PiperOrigin-RevId: 742438495
2025-04-07 14:28:35 +00:00
pubiqq
1125655f6c
[Adaptive][Catalog] Fix crash occurring with all the adaptive demos
...
Resolves https://github.com/material-components/material-components-android/issues/4697
Resolves https://github.com/material-components/material-components-android/pull/4698
PiperOrigin-RevId: 741684824
2025-03-31 14:48:10 +00:00
rightnao
6db122b3fc
[SearchBar][Catalog] Update demos to demonstrate an example with a ConstraintLayout
...
PiperOrigin-RevId: 741241443
2025-03-31 14:43:05 +00:00
rightnao
f223b26e2e
[FloatingToolbar][DockedToolbar] Integrate tokens and add m3 styles
...
PiperOrigin-RevId: 741220809
2025-03-31 14:42:03 +00:00
rightnao
e85371f73f
[Searchbar] Update catalog demo to optionally show searchbar menu
...
PiperOrigin-RevId: 741210806
2025-03-31 14:39:43 +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
dsn5ft
0697f6fe89
[Gradle] Enable non transitive R classes (resource namespacing) and fix errors
...
PiperOrigin-RevId: 738871402
2025-03-20 18:34:33 +00:00
dsn5ft
e3f29ec779
[Docs] Internal change
...
PiperOrigin-RevId: 738555716
2025-03-20 18:33:12 +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
pekingme
d54087efb0
[ButtonGroup] Fixed the content description in distribution demo.
...
PiperOrigin-RevId: 736509481
2025-03-17 18:56:38 +00:00
rightnao
ea01f2ac1f
[Searchbar] Fix centering text when set by the search view
...
PiperOrigin-RevId: 735817759
2025-03-17 18:38:07 +00:00
rightnao
d51f8c9cbe
[Catalog] Add demo for 3 item docked toolbar demo
...
PiperOrigin-RevId: 734265067
2025-03-11 17:53:00 +00:00
rightnao
b085829579
[Catalog] A11y fixes for floating and docked toolbar
...
PiperOrigin-RevId: 733788219
2025-03-11 17:48: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
pekingme
828c93234b
[ButtonGroup] Added the button group distribution demo in catalog.
...
PiperOrigin-RevId: 732356180
2025-03-03 20:00:08 +00:00
manabu-nakamura
37a84d5be3
[Catalog] icon is square
...
Resolves https://github.com/material-components/material-components-android/pull/4618
GIT_ORIGIN_REV_ID=4d9fadd026d3e7b74879ef3c8b688cc41db88569
PiperOrigin-RevId: 732269424
2025-03-03 19:54:04 +00:00
rightnao
1dc9a1cc56
[Searchbar] Fix NPE with hiding navigation icon
...
PiperOrigin-RevId: 731002808
2025-02-25 21:50:34 +00:00
rightnao
9bda9a946c
[Searchbar] Add a demo with 2 icons outside the searchbar
...
PiperOrigin-RevId: 730992169
2025-02-25 21:49:49 +00:00
rightnao
68a79d7002
[DockedToolbar] Add new demo to show fewer items
...
PiperOrigin-RevId: 729663570
2025-02-25 19:30:04 +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
rightnao
caa4dd2a85
[DockedToolbar] 1P styles and tests, and catalog demo
...
PiperOrigin-RevId: 728323728
2025-02-19 13:18:29 -08:00
Material Design Team
700543d46b
Avoid mocking java.lang.Runtime
...
PiperOrigin-RevId: 725357255
2025-02-12 09:59:22 -08:00
pekingme
2d3471fe88
[Theme] Added the Expressive themes.
...
PiperOrigin-RevId: 724438050
2025-02-10 13:20:30 -08:00
rightnao
a82391ab97
[Catalog] Create docked toolbar demo in M3 catalog
...
PiperOrigin-RevId: 724205383
2025-02-10 13:18:36 -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
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
kendricku
7a6866c1db
[Button] [SplitButton] Added PopupMenu to the SplitButton demo.
...
PiperOrigin-RevId: 720684004
2025-01-31 15:17:01 +00:00
manabu-nakamura
9302f54855
[Slider] Fixed behaviour when Slider is in a scrolling container
...
Resolves https://github.com/material-components/material-components-android/pull/4511
GIT_ORIGIN_REV_ID=58e771c48f0a4bf13f62a303a9495a73f414b73b
PiperOrigin-RevId: 720309810
2025-01-28 19:49:47 +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
6a7c034476
[Catalog][TimePicker] listener is added again after rotating device
...
Resolves https://github.com/material-components/material-components-android/pull/4500
GIT_ORIGIN_REV_ID=f0420864a94a0c17ecbfb0cd0a594b24a0746015
PiperOrigin-RevId: 716250724
2025-01-16 19:50:03 +00:00
pekingme
57297ae59d
[CollapsingToolbarLayout] Added multiple subtitle support.
...
PiperOrigin-RevId: 713365011
2025-01-09 13:49:55 +00:00
kendricku
c1e73c87c1
[SplitButton] Updated Split Button to match spec and address feedback.
...
Updated padding values on leading and trailing buttons and fixed the trailing icon sizing. Resolved screenshot diffs in the formatting fragment.
PiperOrigin-RevId: 713303721
2025-01-08 18:25:06 +00:00
pekingme
8598aa6ae9
[CollapsingToolbarLayout] Fixed incorrect title and subtitle positioning.
...
PiperOrigin-RevId: 712776905
2025-01-07 14:33:47 +00:00
rightnao
7f887846b5
[FloatingToolbar] Removed floating toolbar-specific icon button styles from theme overlay
...
PiperOrigin-RevId: 712607176
2025-01-07 14:12:09 +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
hunterstich
59de693346
[Motion] Fixed typo for "spatial"
...
PiperOrigin-RevId: 708423524
2024-12-23 18:54:42 +00:00
pekingme
8726702fa2
[TopAppBar] Added a demo to show case using collapsing toolbar layout with a toggleable button; reduced the number of menu items in all demos.
...
PiperOrigin-RevId: 708397663
2024-12-23 18:49:19 +00:00
rightnao
94966194fa
[NavigationRail] Add divider functionality for expanded nav rail
...
PiperOrigin-RevId: 708103452
2024-12-20 18:45:43 +00:00
kendricku
9397801ac7
[SplitButton] Update split button styles to match spec.
...
PiperOrigin-RevId: 705488629
2024-12-16 13:06:14 +00:00
manabu-nakamura
e51767d18c
[Catalog][FloatingToolbar] Fixed top app bar container fill
...
Resolves https://github.com/material-components/material-components-android/pull/4451
GIT_ORIGIN_REV_ID=f709d2c7743dd76f513414a02ad54da86cf51cb4
PiperOrigin-RevId: 705307074
2024-12-16 13:05:21 +00:00
pekingme
782d2607da
[Collapsing Toolbar] Removed the gravity APIs for subtitle (subtitle shares same gravity as title).
...
PiperOrigin-RevId: 704844851
2024-12-16 13:01:25 +00:00
pfthomas
63e1ec9a54
[Slider] a11y fixes
...
- demos are scrollable
- fix issue where increment is reversed when Slider is vertical
PiperOrigin-RevId: 703087896
2024-12-10 17:56:45 +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