223 Commits

Author SHA1 Message Date
pekingme
8598aa6ae9 [CollapsingToolbarLayout] Fixed incorrect title and subtitle positioning.
PiperOrigin-RevId: 712776905
2025-01-07 14:33:47 +00:00
rightnao
b07e48b576 [FloatingToolbar] Update styles to consolidate horizontal/vertical styles to a single style
PiperOrigin-RevId: 709100303
2024-12-26 19:10:58 +00:00
hunterstich
59de693346 [Motion] Fixed typo for "spatial"
PiperOrigin-RevId: 708423524
2024-12-23 18:54:42 +00:00
rightnao
410f262649 [FloatingToolbar] Set M3 default style
PiperOrigin-RevId: 706756365
2024-12-16 21:54:11 +00:00
hunterstich
98169d21c4 [Motion] Added spring motion subsystem
PiperOrigin-RevId: 705572242
2024-12-16 13:07:30 +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
pekingme
73b577dd6a [TopAppBar] Added collapsing subtitle.
PiperOrigin-RevId: 700042153
2024-12-02 19:42:27 +00:00
hunterstich
e6472658a6 [Internal] Replaced MaterialThemeOverlay#wrap existing public wrap method.
PiperOrigin-RevId: 698796795
2024-11-21 17:36:09 +00:00
pekingme
7f8d63bb80 [Button] Added sizes and shape support.
PiperOrigin-RevId: 695840723
2024-11-21 17:14:16 +00:00
kendricku
43a5dd3a97 [Button] Added a new component SplitButton.
PiperOrigin-RevId: 690729978
2024-10-31 21:39:39 +00:00
pubiqq
b77824fcc7 [Internal] Remove pre-Lollipop resources
Resolves https://github.com/material-components/material-components-android/pull/4280

GIT_ORIGIN_REV_ID=88ee02b5c93b51a154503b7a1f1b85ddeea3cb57
PiperOrigin-RevId: 676472901
2024-09-20 19:49:20 +00:00
pekingme
29ce8d32c3 [ButtonGroup] Added a new component ButtonGroup.
PiperOrigin-RevId: 666359073
2024-08-22 19:05:09 +00:00
pekingme
1d4c076a0e [LoadingIndicator] Added a new component.
PiperOrigin-RevId: 663371718
2024-08-16 17:35:28 +00:00
hunterstich
25083f4518 [Typography] Add emphasized typography styles
PiperOrigin-RevId: 662904526
2024-08-16 17:31:32 +00:00
pekingme
4efcf870ff [Button] Refactored the main demo.
PiperOrigin-RevId: 660428578
2024-08-12 12:15:54 -07:00
Ga\u00ebtan Muller
b3fe6a7f61 [Cleanup] Remove redundant version checks for api <= 19.
Resolves https://github.com/material-components/material-components-android/pull/3849

GIT_ORIGIN_REV_ID=47bb2fcc8031740e5a7d4f741f1ada2af025e126
PiperOrigin-RevId: 632154861
2024-05-09 18:46:02 +00:00
manabu-nakamura
f3e4439ca6 [Dialog] Unified scrim opacity in Material themes/theme overlays.
Resolves https://github.com/material-components/material-components-android/pull/3643

PiperOrigin-RevId: 579005745
2023-11-06 13:59:35 +00:00
pubiqq
81d1b772b9 [Theme] Add NoActionBar dynamic color themes
Resolves https://github.com/material-components/material-components-android/pull/3636

GIT_ORIGIN_REV_ID=ab4463028a14e4d4fbd3a613c4c402b8de39f552
PiperOrigin-RevId: 578900644
2023-11-06 13:58:24 +00:00
Material Design Team
ad63d3ff7e [M3][Color] Introduce U color tokens
PiperOrigin-RevId: 574897222
2023-10-19 11:35:44 -07:00
Patrick Zedler
f2ccc116ea [Theme] Fix swapped error colors for dynamic contrast theme in light mode
Resolves https://github.com/material-components/material-components-android/pull/3516

GIT_ORIGIN_REV_ID=36239feca8a1a061279087b46403d2d8dac69ae1
PiperOrigin-RevId: 556179631
2023-08-12 02:39:17 +00:00
Material Design Team
d3dda60296 [M3][Color] Added default framework text colors
PiperOrigin-RevId: 548148997
2023-07-17 15:59:15 +00:00
Material Design Team
839b14cf0f [M3][Color] Expose attr contrastColorThemeOverlay
PiperOrigin-RevId: 546792664
2023-07-11 19:38:11 +00:00
Material Design Team
862a7e10c9 [M3][Color] Add dynamic contrast support
PiperOrigin-RevId: 544727089
2023-07-05 13:40:51 +00:00
Michael Totschnig
dae89b7ce2 [Dialog] Update DialogWhenLarge theme to have correct parent theme
Resolves https://github.com/material-components/material-components-android/pull/3402

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

Co-authored-by: imhappi
GIT_ORIGIN_REV_ID=8aee44c6a45954096083b06540e5aa1058eff34b
PiperOrigin-RevId: 534921469
2023-05-30 15:27:22 +00:00
raajkumars
e56e9b1dde [M3][Search] Fix Search view prefix style.
PiperOrigin-RevId: 524945100
2023-04-19 13:53:58 -07:00
raajkumars
3029ff0fc4 Automated g4 rollback of changelist 523789226
PiperOrigin-RevId: 524046939
2023-04-17 12:12:17 -07:00
raajkumars
9ffaa8d1bf [M3][Search] Updated search styles to set the default style attributes in the related theme overlay.
PiperOrigin-RevId: 523789226
2023-04-13 09:05:53 -07:00
raajkumars
cdda1fc66e [Search] Added support to pass toolbar style.
PiperOrigin-RevId: 519876161
2023-03-28 16:18:25 +00:00
pekingme
4f3dc3ed19 [Color] Added new theme attributes for fixed accent colors.
PiperOrigin-RevId: 506910629
2023-02-03 21:02:49 +00:00
pekingme
989d574dbb [Color] Added tonal surface color theme attributes and updated themes.
PiperOrigin-RevId: 492316991
2022-12-02 16:01:22 +00:00
pekingme
b2b546b205 [Tokens] Internal updates.
PiperOrigin-RevId: 490295053
2022-11-23 15:11:19 -05:00
raajkumars
978ffdf0aa [M3][SearchBar][SearchView] Renamed search style attributes to add "material" prefix.
PiperOrigin-RevId: 490260853
2022-11-22 12:36:54 -05:00
raajkumars
d1bacf55db [M3][SearchBar] Added new SearchBar and SearchView components
PiperOrigin-RevId: 490002827
2022-11-21 13:02:32 -05:00
afohrman
10d72eebec [Adaptive][Side Sheets] Added initial modal side sheet.
PiperOrigin-RevId: 482846478
2022-10-21 18:52:52 +00:00
pubiqq
b6c6600ad8 [MaterialButtonToggleGroup] Added the default Material3 toggleGroupStyle
Resolves https://github.com/material-components/material-components-android/pull/2961

GIT_ORIGIN_REV_ID=94b9206658d66d0b7eaaaf4222bc2e0935fafa9b
PiperOrigin-RevId: 477243702
2022-09-27 23:57:48 +00:00
pekingme
ac6f13c0be [Theme] Added a theme attribute for outline-variant color.
PiperOrigin-RevId: 475881564
2022-09-22 17:40:01 +00:00
pekingme
1ef53e2b37 [Tokens] Upgraded to v0.126 for 1p and 3p.
PiperOrigin-RevId: 475355503
2022-09-20 12:59:30 -04:00
conradchen
ac7b761294 [BottomSheet] Create a drag handle view which support accessibility control
PiperOrigin-RevId: 457939228
2022-06-29 14:38:43 +00:00
pekingme
d320d4866b [Tokens] Integrated elevation overlay color.
PiperOrigin-RevId: 456827685
2022-06-24 20:22:35 +00:00
raajkumars
7d0f1badea [Material Theme] Added isMaterial3DynamicColorApplied attr to identify whether dynamic colors are being used in a theme.
PiperOrigin-RevId: 451486255
2022-05-31 13:36:11 -07:00
conradchen
1e08c680d4 [Switch] Add material switch style to M3 themes
Also add public attributes to public.xml

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

PiperOrigin-RevId: 450782655
2022-05-25 15:17:43 -04:00
pekingme
acc75697ea [FAB] Added "Small" styles with new shape system.
PiperOrigin-RevId: 450003295
2022-05-23 11:13:49 -04:00
pekingme
a1e83052d9 [Tokens] Regenerated token resources with <macro> type.
PiperOrigin-RevId: 449829080
2022-05-20 15:18:57 -04:00
raajkumars
467a2c9f73 [Button] Updated M3 button style to add outlined icon button style. Updated catalog to showcase the same.
PiperOrigin-RevId: 448118229
2022-05-12 17:17:21 -04:00
raajkumars
14578ed68c [Button] Updated M3 button style to add filled tonal icon button style. Updated catalog to showcase the same.
PiperOrigin-RevId: 447784383
2022-05-10 15:05:30 -04:00
raajkumars
25606cf34a [Button] Updated M3 button style to add filled icon button style. Updated catalog to showcase the same.
PiperOrigin-RevId: 447523530
2022-05-09 15:00:34 -04:00
raajkumars
402bdf4bbe [Button] Added materialIconButtonStyle attribute and updated M3 doc to document icon (only) button style and attribute.
PiperOrigin-RevId: 446487810
2022-05-04 18:27:31 -04:00
pekingme
6217aa8581 [Shape] Added theme attributes and styles for new shape appearances.
PiperOrigin-RevId: 442925211
2022-04-20 12:55:55 -04:00
hunterstich
0ab2068bac [Motion] Add new motion system duration theming
PiperOrigin-RevId: 436975443
2022-03-28 15:57:30 +00:00