3612 Commits

Author SHA1 Message Date
pekingme
672f66f377 [IconButton] Internal
PiperOrigin-RevId: 734268793
2025-03-11 17:53:33 +00:00
pekingme
4a841f5611 [ExtendedFAB] Integrated new token sets.
PiperOrigin-RevId: 733904498
2025-03-11 17:52:12 +00:00
rightnao
f7ba9c6f19 [Searchbar][Searchview] Fix animation when searchbar doesn't cover whole screen
PiperOrigin-RevId: 733852521
2025-03-11 17:49:30 +00:00
pekingme
c806284bac [Button] Added Expressive styles.
PiperOrigin-RevId: 733828197
2025-03-11 17:48:57 +00:00
pekingme
2e97dd672e [ProgressIndicator] Added fraction support in track corner radius.
PiperOrigin-RevId: 733576933
2025-03-11 17:47:39 +00:00
pekingme
99ff34c0f2 Automated g4 rollback of changelist 732281281
PiperOrigin-RevId: 733564962
2025-03-11 17:46:56 +00:00
rightnao
0641ee59e1 [Searchbar] Add textCentered attribute
PiperOrigin-RevId: 733486317
2025-03-11 17:43:47 +00:00
rightnao
393828419f [FloatingToolbarLayout] Fix for insets handling adding insets on every onApplyWindowInsets call
Resolves https://github.com/material-components/material-components-android/issues/4633#issuecomment-2692718735

PiperOrigin-RevId: 733421639
2025-03-11 17:42:21 +00:00
pekingme
7e63ca14ea [FAB] Integrated to new token sets.
PiperOrigin-RevId: 733388697
2025-03-11 17:41:46 +00:00
pekingme
b6400780e4 [ButtonGroup] Fixed the bug of size morph not working with layout_weight.
PiperOrigin-RevId: 732281281
2025-03-03 19:57:37 +00:00
pekingme
0a2735b2f8 Automated g4 rollback of changelist 724420450
PiperOrigin-RevId: 731911056
2025-03-03 19:52:09 +00:00
pekingme
ed528c69c7 [ButtonGroup] Added flags to prevent unnecessary updates to child shape.
PiperOrigin-RevId: 731763436
2025-03-03 19:51:24 +00:00
pekingme
67b6dcebe5 [Tokens] Upgraded to 15.0.26
PiperOrigin-RevId: 731761144
2025-03-03 19:50:32 +00:00
hunterstich
9f528510c3 [Translations] Updated string translations
PiperOrigin-RevId: 731461284
2025-03-03 19:49:49 +00:00
rightnao
1dc9a1cc56 [Searchbar] Fix NPE with hiding navigation icon
PiperOrigin-RevId: 731002808
2025-02-25 21:50:34 +00:00
hunterstich
580e8d56d6 [Build] Updated build to use Dackka for documentation generation
PiperOrigin-RevId: 730522331
2025-02-25 19:33:33 +00:00
pekingme
c39dc388b3 [Tokens] Upgraded to version 15.0.12.
PiperOrigin-RevId: 730510849
2025-02-25 19:32:33 +00:00
Material Design Team
7f8f3e762b Automated g4 rollback of changelist 655638807
PiperOrigin-RevId: 730472222
2025-02-25 19:31:01 +00:00
rightnao
ca0b870a34 [Carousel] Recyclerview children do not inherit layout direction
PiperOrigin-RevId: 729275138
2025-02-25 19:27:40 +00:00
Material Design Team
4ed648a71d [MaterialTimePicker][a11y] Fixing the Talkback focusability of the "Select time" label on the time picker component.
PiperOrigin-RevId: 729257174
2025-02-25 19:26:57 +00:00
pfthomas
fd2e9bcdf6 [DatePicker] Prevent keyboard from automatically showing with TalkBack
PiperOrigin-RevId: 729239261
2025-02-25 19:19:52 +00:00
rightnao
d560705861 [A11y] Prevent hide on scroll when Talkback is on
PiperOrigin-RevId: 728848785
2025-02-20 15:47:18 +00:00
pekingme
7c5dce0f82 [Tokens] Updated to 14.0.0.
PiperOrigin-RevId: 728471950
2025-02-20 15:36:11 +00:00
pekingme
0c4ed7e06d [Button] Fixed the translationz value for hovered state of elevated button.
PiperOrigin-RevId: 727061392
2025-02-18 10:25:46 -08:00
pekingme
8a23e0d858 [LinearProgressIndicator] Added an track inner corner radius API.
PiperOrigin-RevId: 727060418
2025-02-18 10:24:08 -08:00
rightnao
1fd228bf57 [DockedToolbar] Adding inset padding attributes
PiperOrigin-RevId: 726578762
2025-02-18 10:22:15 -08:00
pekingme
8c263bbbbc [Button] Cleanup
PiperOrigin-RevId: 726180664
2025-02-18 10:21:22 -08:00
pekingme
c9bfe62464 [TopAppBar] Added Expressive styles
PiperOrigin-RevId: 726115787
2025-02-18 10:09:19 -08:00
kendricku
79bd7d7b1b [a11y][Chips] Add missing 'button' mention to Talkback output for close icon.
Recording, before:  http://recall/-/hPu3uxWupaB3jE5JXfMuKd/cAF19QKQl7DNPiEUSh5nHq
Recording, after:  http://recall/-/hPu3uxWupaB3jE5JXfMuKd/crZJ8t5wC4xppg19MTmHDE

PiperOrigin-RevId: 726017137
2025-02-12 10:10:49 -08:00
pekingme
2d3471fe88 [Theme] Added the Expressive themes.
PiperOrigin-RevId: 724438050
2025-02-10 13:20:30 -08:00
pekingme
755981ad91 [Snackbar] Added an opt-out for the coming new dismissal behavior for Snackbar with action.
PiperOrigin-RevId: 724420450
2025-02-10 13:19:39 -08:00
rightnao
51873bb526 [DockedToolbar] Create DockedToolbarLayout
PiperOrigin-RevId: 723677429
2025-02-06 14:25:46 +00:00
t895
4657afbefd [NavigationRailView] Use display cutout and system bar insets for start padding
Resolves https://github.com/material-components/material-components-android/pull/3991
Resolves https://github.com/material-components/material-components-android/issues/3990#issuecomment-2632054241

GIT_ORIGIN_REV_ID=f082787a3ad3ef750d77bd45e17fb31989e1f3bf
PiperOrigin-RevId: 723579609
2025-02-05 20:11:00 +00:00
Material Design Team
e37ccbb0b8 Automated g4 rollback of changelist 721842600
PiperOrigin-RevId: 722621410
2025-02-03 17:54:45 +00:00
pekingme
33b1c33eca [TopAppBar] Overrode the colorControlHighlight to reflect the Material state layer.
PiperOrigin-RevId: 721842600
2025-02-03 17:53:44 +00:00
pekingme
ede07135e9 [Colors] Added M3 colors in M3 ThemeOverlay.
PiperOrigin-RevId: 721415987
2025-01-31 15:21:48 +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
Material Design Team
76dce7347b Automated g4 rollback of changelist 716328564
PiperOrigin-RevId: 720889049
2025-01-31 15:18:55 +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
pekingme
9a2890c249 [Resources] Updated translated string resources.
Resolves https://github.com/material-components/material-components-android/issues/4553

PiperOrigin-RevId: 720282586
2025-01-28 19:47:24 +00:00
rightnao
52228c1b3b [Carousel] Update keyline state if necessary if item size changes
PiperOrigin-RevId: 719390625
2025-01-27 21:02:42 +00:00
rightnao
916e9085f9 [Carousel] Update multi-browse strategy to always have at least 1 medium item
PiperOrigin-RevId: 719372980
2025-01-27 21:01:56 +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
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
pekingme
29be993604 [Shape] Added additional shape appearance styles in public.xml
PiperOrigin-RevId: 718631797
2025-01-24 18:30:47 +00:00
rightnao
d0f5d721a1 [Carousel] Recalculate keyline state if it doesn't match the current container size
PiperOrigin-RevId: 718578581
2025-01-24 18:27:58 +00:00
pekingme
447fd02900 [Shape] Added new attributes in Material3 themes.
PiperOrigin-RevId: 718524523
2025-01-22 23:07:54 +00:00
pubiqq
e3a3093309 [Internal] Use monotonic clock to measure time intervals
Resolves https://github.com/material-components/material-components-android/pull/4289

GIT_ORIGIN_REV_ID=6686c2a3101c235c1fec087a0f77acbfecd23540
PiperOrigin-RevId: 718390534
2025-01-22 17:54:49 +00:00
Material Design Team
cfe822097b Automated g4 rollback of changelist 715031294
PiperOrigin-RevId: 717977309
2025-01-21 18:57:52 +00:00
conradchen
690bbfc917 [TextField] Fix the issue that menu items gets filtered after recreation
It's actually a bug of framework's AutoCompleteTextView. When restoring the
state, it always filters the item list regardless the previously input item
is from menu selection or manual input.

This change fixes the issue by implementing the custom logic of input text
saving/restoring, and properly remember if the last input text filters the
item list or not.

Resolves https://github.com/material-components/material-components-android/issues/1464

PiperOrigin-RevId: 716328564
2025-01-16 20:37:01 +00:00