pekingme
4f55422744
[ButtonGroup] Add a demo to programmatically add/remove buttons in a button group.
...
PiperOrigin-RevId: 751060643
2025-04-25 16:58:30 +00:00
pekingme
0bd1749898
[Dialog] Added Expressive styles.
...
PiperOrigin-RevId: 750744509
2025-04-25 16:55:20 +00:00
pekingme
3a2969935f
[Slider] Added Expressive styles.
...
PiperOrigin-RevId: 750463306
2025-04-23 19:49:00 +00:00
pfthomas
781d344142
[Slider] Centered Slider Expressive updates
...
- update the Centered Slider to show the track starting from the center
PiperOrigin-RevId: 750301810
2025-04-22 20:39:48 +00:00
pubiqq
7c6242924e
[Color] ColorResourcesTableCreator: Fix length encoding for utf8 strings
...
Resolves https://github.com/material-components/material-components-android/pull/4710
GIT_ORIGIN_REV_ID=93cfc26eaac6aff2e6ec1e80123f4eb2d98b42b7
PiperOrigin-RevId: 750282052
2025-04-22 20:37:28 +00:00
pekingme
de1f5e1952
[ProgressIndicator] Reorganized styles.
...
PiperOrigin-RevId: 749841349
2025-04-22 20:18:17 +00:00
pekingme
72d011d48a
[Slider] Reorganized styles.
...
PiperOrigin-RevId: 749840827
2025-04-22 20:16:58 +00:00
pekingme
56a96a8f82
[NavRail] Added Expressive styles.
...
PiperOrigin-RevId: 749159805
2025-04-21 16:08:59 +00:00
pekingme
12a136c56a
[NavRail] Migrated to new token sets.
...
PiperOrigin-RevId: 749147576
2025-04-21 16:07:49 +00:00
pekingme
e980f6018d
[BottomNav] Added Expressive styles.
...
PiperOrigin-RevId: 749114894
2025-04-21 16:06:50 +00:00
pekingme
02fcdf5fb4
[BottomNav] Migrated to new token sets.
...
PiperOrigin-RevId: 749087804
2025-04-21 15:56:00 +00:00
pekingme
9fc00e8f90
[NavRail] Reorganized styles.
...
PiperOrigin-RevId: 749087459
2025-04-21 15:55:15 +00:00
pekingme
a28f0e0d7b
[Dialog] Reorganized styles.
...
PiperOrigin-RevId: 749086083
2025-04-21 15:54:30 +00:00
rightnao
4b9df08511
[FloatingToolbar][DockedToolbar] Added m3 styles for buttons and theme overlays
...
PiperOrigin-RevId: 749086012
2025-04-21 15:53:43 +00:00
rightnao
834ce09d71
[DockedToolbar][FloatingToolbar] Include IME in insets
...
PiperOrigin-RevId: 749085039
2025-04-21 15:52:25 +00:00
pekingme
d0194fb050
[BottomNav] Rearranged M3 styles.
...
PiperOrigin-RevId: 749071804
2025-04-21 15:37:59 +00:00
pekingme
6c7354a368
[ButtonGroups] Added expressive styles.
...
PiperOrigin-RevId: 748866556
2025-04-21 15:36:02 +00:00
pekingme
d791fad4cc
[ButtonGroup] Fixed the bug of size morph not working with layout_weight.
...
PiperOrigin-RevId: 748859113
2025-04-18 00:17:04 +00:00
pubiqq
443eaa59c0
[Color] ColorResourcesTableCreator: Fix resource entry names
...
Resolves https://github.com/material-components/material-components-android/pull/4708
Resolves https://github.com/material-components/material-components-android/pull/4707
Resolves https://github.com/material-components/material-components-android/issues/4472
Resolves https://github.com/material-components/material-components-android/issues/4706
GIT_ORIGIN_REV_ID=b03d6db74d066a1be47a18d242b646db8b568afb
PiperOrigin-RevId: 748477063
2025-04-18 00:15:02 +00:00
kendricku
2667e098db
[Button] Added optical center feature.
...
ORIGINAL_AUTHOR=pekingme
PiperOrigin-RevId: 748415083
2025-04-18 00:14:04 +00:00
pekingme
696a48a5b1
[Button] Added expressive styles in M3 expressive dialog themes.
...
PiperOrigin-RevId: 748364177
2025-04-18 00:05:20 +00:00
pekingme
fd0b8bab59
[FAB] Added Expressive styles.
...
PiperOrigin-RevId: 748329944
2025-04-18 00:03:36 +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
Material Design Team
93a5130594
[ContextMenu] Fixed Dark Mode for Context Menu
...
PiperOrigin-RevId: 747912943
2025-04-17 23:57:44 +00:00
rightnao
dcfbdff79c
[TopAppBar] Add attribute to center based on whole container
...
PiperOrigin-RevId: 747496721
2025-04-17 23:56:54 +00:00
Material Design Team
39dd3a4235
[DatePicker][A11y] Fix accessibility focus landing on first day of month after year selection
...
After selecting a year, accessibility focus now correctly returns to the calendar/year selection button instead of jumping to the first day of the month. Also disabled RecyclerView animations when TalkBack is enabled to prevent incorrect date announcements during transitions.
PiperOrigin-RevId: 745964584
2025-04-17 23:55:05 +00:00
rightnao
53616ad822
[SearchBar] Add cutout insets to SearchView toolbar
...
PiperOrigin-RevId: 745270784
2025-04-17 23:54:16 +00:00
hunterstich
1eaf483fc9
[ChipGroup] Updated flow layout to correctly layout padding when in RTL.
...
maxChildEnd is used to track when to move a child onto the next row. It can't be used to layout a child since it uses paddingEnd and children need to be laid out relative to the start of the container.
PiperOrigin-RevId: 744800898
2025-04-17 23:53:21 +00:00
rightnao
44eabe31b8
[SearchBar] Fix animation calculations for predictive back
...
PiperOrigin-RevId: 743652844
2025-04-07 14:34:18 +00:00
kendricku
9fd5a67c9f
[i18n][Datepicker] Translate fixed a11y announcements.
...
PiperOrigin-RevId: 743598030
2025-04-07 14:33:11 +00:00
rightnao
917022188b
[SearchBar] Fix long centered text overlapping with menu items
...
PiperOrigin-RevId: 743214367
2025-04-07 14:31:08 +00:00
kendricku
960bb4cb82
[a11y][TimePicker] Include "hour" and "minute" in announcements. For example: "Not checked, Hour - 11'0 clock. double tap to select Hour".
...
PiperOrigin-RevId: 742718549
2025-04-07 14:29:38 +00:00
pekingme
2ef3aba608
[Shape] Updated the shape tokens output.
...
PiperOrigin-RevId: 742421549
2025-04-03 19:24:41 +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
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