hunterstich
71f014fa41
[Snackbar] Added optional close icon
...
PiperOrigin-RevId: 845256053
2025-12-17 14:23:55 +00:00
pekingme
f86cedd44a
[Button] Defer icon changes during width animation in MaterialButton.
...
This change introduces pending states for icon and icon size. When a width animation is active, calls to setIcon and setIconSize are deferred and applied only after the animation completes, preventing layout conflicts.
PiperOrigin-RevId: 840343132
2025-12-08 14:24:26 +00:00
pekingme
dc98ca0335
[Button] Fixed width morph with contents change.
...
PiperOrigin-RevId: 825101222
2025-10-31 21:07:33 +00:00
pekingme
7c66a2ef94
[ButtonGroup] Added the "wrap" overflow mode.
...
If the "wrap" overflow mode is in use, the button group will wrap the buttons that don't fit in one row to more rows below.
PiperOrigin-RevId: 800551513
2025-08-29 11:44:37 -07:00
dsn5ft
ab3333915a
[i18n] Update library string translations
...
PiperOrigin-RevId: 788056533
2025-07-28 17:12:44 +00:00
rightnao
2f0935a706
[Card] Support StateListShapeAppearance in MaterialCardView
...
PiperOrigin-RevId: 785529211
2025-07-24 18:34:07 +00:00
rightnao
85e2fd04bd
[MaterialButton] Update corner radius behavior to override StateListShapeAppearance if set
...
PiperOrigin-RevId: 784640767
2025-07-21 14:34:20 +00:00
rightnao
4db190003e
[MaterialShapeDrawable] Introduce ShapeAppearance interface to reduce branching between ShapeAppearanceModel and StateListShapeAppearanceModel
...
PiperOrigin-RevId: 784395554
2025-07-21 14:32:30 +00:00
kendricku
3625174cc3
[TimePicker] Add toggle button, split button, and time picker AM/PM sound effects.
...
These were not present because the sound effect is only automatically triggered on click, not on checked state.
PiperOrigin-RevId: 774911150
2025-06-27 16:06:44 +00:00
pekingme
bbd942c11b
[MaterialButton] Updated the shapes of buttons when the orientation is changed.
...
Resolves https://github.com/material-components/material-components-android/issues/4809
PiperOrigin-RevId: 772043388
2025-06-18 14:17:50 +00:00
pekingme
0e6d4f4658
[ButtonGroup] Fixed connected button groups to not morph button size.
...
Resolves https://github.com/material-components/material-components-android/issues/4782
PiperOrigin-RevId: 771105111
2025-06-18 14:16:23 +00:00
pekingme
6d8d750735
[Button] Fixed width morph in vertical button groups.
...
PiperOrigin-RevId: 770651707
2025-06-12 20:05:47 +00:00
pekingme
7df9b07882
[Button] Fixed checked non-checkable button not recover shape and container color
...
Resolves https://github.com/material-components/material-components-android/issues/4808
PiperOrigin-RevId: 768053646
2025-06-10 19:31:49 +00:00
Leo
86372cada3
[Docs][MaterialSplitButton.java] Updated usage documentation
...
Resolves https://github.com/material-components/material-components-android/pull/4795
- bf180a943ae3fd1fc5c785955de1f52faecfe1eb by Leo <ando9836@jec.ac.jp>
PiperOrigin-RevId: 766667719
2025-06-03 15:37:40 +00:00
leticiars
7428b2b49b
[OverflowLinearLayout][Button] Overflow menu item's text should be CharSequence
...
PiperOrigin-RevId: 764904265
2025-05-30 13:35:46 +00:00
leticiars
fa0e908340
[OverflowLinearLayout] Use button's text or content description as default menu item text.
...
PiperOrigin-RevId: 764857390
2025-05-30 13:34:05 +00:00
pekingme
981877d06d
[ButtonGroup] Added overflow feature.
...
PiperOrigin-RevId: 762686060
2025-05-27 18:47:43 +00:00
pekingme
0c5b17a406
[Button] Fixed a bug that checked state in XML was not respected.
...
PiperOrigin-RevId: 755123809
2025-05-07 19:28:26 +00:00
pekingme
7ae12b5ab0
[ButtonGroup] Updated to only draw surface color under the button's stroke when the buttons are actually overlapped.
...
PiperOrigin-RevId: 753629476
2025-05-02 15:58:36 +00:00
kendricku
2aadbd1ff1
[Button][Split Button] Update split button styles to lessen maker specification requirements and support consistency.
...
PiperOrigin-RevId: 752444738
2025-04-30 17:47:20 +00:00
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
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
kendricku
2667e098db
[Button] Added optical center feature.
...
ORIGINAL_AUTHOR=pekingme
PiperOrigin-RevId: 748415083
2025-04-18 00:14:04 +00:00
rightnao
37adad28af
[Tokens] Update tokens to 16.0.2
...
PiperOrigin-RevId: 739249542
2025-03-24 15:27:25 +00:00
pekingme
672f66f377
[IconButton] Internal
...
PiperOrigin-RevId: 734268793
2025-03-11 17:53:33 +00:00
pekingme
c806284bac
[Button] Added Expressive styles.
...
PiperOrigin-RevId: 733828197
2025-03-11 17:48:57 +00:00
pekingme
99ff34c0f2
Automated g4 rollback of changelist 732281281
...
PiperOrigin-RevId: 733564962
2025-03-11 17:46:56 +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
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
pekingme
c39dc388b3
[Tokens] Upgraded to version 15.0.12.
...
PiperOrigin-RevId: 730510849
2025-02-25 19:32:33 +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
8c263bbbbc
[Button] Cleanup
...
PiperOrigin-RevId: 726180664
2025-02-18 10:21:22 -08:00
pubiqq
bc2fdeadaf
[Internal] Prefer platform methods to compat ones
...
Resolves https://github.com/material-components/material-components-android/pull/4532
GIT_ORIGIN_REV_ID=180dec736f2521579e483317a4d537629d8f247b
PiperOrigin-RevId: 715494344
2025-01-15 18:06:07 +00:00
hunterstich
f4342f1eb8
[Motion] Added default style parameter for MotionUtil when resolving theme spring attributes
...
PiperOrigin-RevId: 714984914
2025-01-14 17:54:18 +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
hunterstich
59de693346
[Motion] Fixed typo for "spatial"
...
PiperOrigin-RevId: 708423524
2024-12-23 18:54:42 +00:00
kendricku
08fff9f6f8
[SplitButton] Add chevron drawable AVD to public.
...
PiperOrigin-RevId: 708019854
2024-12-20 18:44:11 +00:00
hunterstich
98169d21c4
[Motion] Added spring motion subsystem
...
PiperOrigin-RevId: 705572242
2024-12-16 13:07:30 +00:00
kendricku
9397801ac7
[SplitButton] Update split button styles to match spec.
...
PiperOrigin-RevId: 705488629
2024-12-16 13:06:14 +00:00
kendricku
ec8be9ab57
Internal change
...
PiperOrigin-RevId: 704689311
2024-12-10 18:03:07 +00:00
pekingme
4f7bf293ea
[Tokens] Updated token outputs to v13.2.0 and integrated new AppBar tokens.
...
PiperOrigin-RevId: 703208208
2024-12-10 17:57:50 +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
kendricku
106aaeb2d4
[SplitButton] Update split button styles to match spec.
...
PiperOrigin-RevId: 700697360
2024-12-02 20:05:49 +00:00
hunterstich
e6472658a6
[Internal] Replaced MaterialThemeOverlay#wrap existing public wrap method.
...
PiperOrigin-RevId: 698796795
2024-11-21 17:36:09 +00:00
kendricku
06c9ab90d9
[SplitButton] Generate tokens for Split Button component.
...
PiperOrigin-RevId: 697937775
2024-11-21 17:30:25 +00:00
kendricku
c40e8578ad
[Button] Update split button chevron overshoot interpolator tension to 1.0 for standard animation.
...
PiperOrigin-RevId: 696237577
2024-11-21 17:16:59 +00:00
pekingme
7f8d63bb80
[Button] Added sizes and shape support.
...
PiperOrigin-RevId: 695840723
2024-11-21 17:14:16 +00:00