3482 Commits

Author SHA1 Message Date
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
pfthomas
efea65b0eb [Slider][a11y] Add state description to VirtualView node
PiperOrigin-RevId: 741685200
2025-03-31 14:48:57 +00:00
pekingme
bc2592a929 [FAB] Reorganized the FAB and exFAB styles in the order of most recent first.
PiperOrigin-RevId: 741661629
2025-03-31 14:47:21 +00:00
rightnao
04c56f6eb3 [SearchBar] Fix issue with a custom center view pushing out centered text
PiperOrigin-RevId: 741587300
2025-03-31 14:46:16 +00:00
hunterstich
8ded9f511d [BottomSheet] Added back the AccessibilityStateChangedListener implementation in drag handle component
PiperOrigin-RevId: 741553738
2025-03-31 14:45:32 +00:00
Material Design Team
f062532d6d Fixed deprecated link in [LabelVisibilityMode.java](https://developer.android.com/reference/com/google/android/material/bottomnavigation/LabelVisibilityMode) source file.
PiperOrigin-RevId: 741255340
2025-03-31 14:44:14 +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
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
Material Design Team
41f507977e [MaterialDatePicker] Fix DatePicker to use correct accessibility description for calendar/year view toggle button.
Change TalkBack announcement from
'month year. Tap to switch to year/calendar view. Double tap to activate'
to
'month year. Double tap to switch to year/calendar view'

PiperOrigin-RevId: 740445584
2025-03-26 16:18:47 +00:00
hunterstich
a8d492cb89 [Build] Moved back to Java 8 source and target compatibility
PiperOrigin-RevId: 739934297
2025-03-24 15:33:47 +00:00
Material Design Team
1ee9a86238 [Dialog] Fixed issue with child views overflowing from the alert dialog.
PiperOrigin-RevId: 739309127
2025-03-24 15:31:30 +00:00
rightnao
37adad28af [Tokens] Update tokens to 16.0.2
PiperOrigin-RevId: 739249542
2025-03-24 15:27:25 +00:00
dsn5ft
09d2566f32 [MaterialToolbar][SearchBar] Update AppCompat dependency to 1.7.0 stable and remove inflateMenu dispatch pausing now that the fix has landed in AppCompat
PiperOrigin-RevId: 738894593
2025-03-21 17:01:11 +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
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