3466 Commits

Author SHA1 Message Date
pekingme
0b89ef4e65 [ProgressIndicator] Added the customization of setting the stop inidcator padding.
PiperOrigin-RevId: 738518813
2025-03-20 17:46:12 +00:00
Material Design Team
71287c67dd [MaterialDatePicker][A11y] Disable next/prev button when the selected month is at the boundary
When user clicks on previous/next month button, the button will be disabled if the clicked month is at the boundary.

PiperOrigin-RevId: 738309727
2025-03-19 18:25:59 +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
rightnao
e035f386bf [SearchBar][SearchView] Set alpha for toolbar button directly rather than setting through a FadeThroughDrawable
PiperOrigin-RevId: 735925620
2025-03-17 18:51:35 +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
hunterstich
6f41625f57 [FAB] Restored public jumpDrawablesToCurrentState method
PiperOrigin-RevId: 735749567
2025-03-11 18:02:00 +00:00
pekingme
f5139149ef [FAB] Fixed wrong elevation per state.
PiperOrigin-RevId: 735468234
2025-03-11 18:00:39 +00:00
pekingme
949b05742f [FAB] Improved readability.
PiperOrigin-RevId: 735467033
2025-03-11 18:00:04 +00:00
pekingme
db7fe20962 [ExtendedFAB] Fixed wrong elevation per state.
PiperOrigin-RevId: 735422734
2025-03-11 17:59:20 +00:00
pekingme
da442bef3b [FAB] Merged FABImpl and FABImplLollipop classes, since no pre-lollipop is supported.
PiperOrigin-RevId: 735422196
2025-03-11 17:54:56 +00:00
pubiqq
e169ffc916 [LoadingIndicator] Fix handling of negative morphFraction
Resolves https://github.com/material-components/material-components-android/pull/4642

GIT_ORIGIN_REV_ID=5450fea31c772687203657b010cf228feb1686f6
PiperOrigin-RevId: 734911732
2025-03-11 17:54:18 +00:00
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