223 Commits

Author SHA1 Message Date
dsn5ft
9b6ceac72a [i18n] Update string translations
PiperOrigin-RevId: 633623911
2024-05-14 17:16:18 +00:00
pubiqq
510881a469 [Internal] Stop using deprecated androidx.core.view.* methods
Resolves https://github.com/material-components/material-components-android/pull/4117

GIT_ORIGIN_REV_ID=dd157e8360c2511810496693cec1616fce578655
PiperOrigin-RevId: 632284856
2024-05-13 17:37:38 +00: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
dsn5ft
cadbd6af83 [Dialog] Temporarily suppress RtlCompat lint for res/layout/mtrl_alert_select_dialog_singlechoice.xml
PiperOrigin-RevId: 629180270
2024-04-30 20:01:48 +00:00
dsn5ft
890053a734 [Dialog] Temporarily suppress RtlCompat lint for res/layout/mtrl_alert_select_dialog_multichoice.xml
PiperOrigin-RevId: 629168705
2024-04-30 20:00:13 +00:00
pfthomas
9b09b693d9 [Tokens] Update tokens to v4.0.0
PiperOrigin-RevId: 626141198
2024-04-19 21:18:49 +00:00
pekingme
28cc2441d0 [Tokens] Updated to version 2.3.4.
PiperOrigin-RevId: 610835532
2024-02-29 08:36:02 -08:00
pekingme
ee7b4bddb4 [Tokens] Added formatting to break long lines and differentiate different comments.
PiperOrigin-RevId: 605684816
2024-02-12 18:03:59 +00:00
pekingme
89212044a9 [Tokens] Updated to v0.213.
PiperOrigin-RevId: 603749766
2024-02-06 14:30:16 +00:00
pekingme
08d7ded67b [Tokens] Upgraded to v0.207.
PiperOrigin-RevId: 600947836
2024-01-24 21:05:53 +00:00
pekingme
4ccaaaa31d [Tokens] Upgraded to v0.203
PiperOrigin-RevId: 579928128
2023-11-08 15:12:21 +00:00
pekingme
637362d597 [Tokens] Upgraded to v0.195
PiperOrigin-RevId: 579905417
2023-11-06 20:27:15 +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
Material Design Team
ad63d3ff7e [M3][Color] Introduce U color tokens
PiperOrigin-RevId: 574897222
2023-10-19 11:35:44 -07:00
pekingme
bfee8a74d7 [Tokens] Upgraded to v0.175.
PiperOrigin-RevId: 572648883
2023-10-12 11:04:28 -07:00
pekingme
8204856dd4 [Token][Color] Upgraded to v0.170 for tonal surface colors.
PiperOrigin-RevId: 555230534
2023-08-09 19:03:25 +00:00
Material Design Team
839b14cf0f [M3][Color] Expose attr contrastColorThemeOverlay
PiperOrigin-RevId: 546792664
2023-07-11 19:38:11 +00:00
rightnao
e3b255b3a0 [Docs] Crosslink github docs in javadocs
PiperOrigin-RevId: 546393704
2023-07-11 19:37:37 +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
pekingme
77cdc1e3ac [Dialog] Made dialog background color configurable in XML styles.
PiperOrigin-RevId: 523436908
2023-04-12 07:38:27 -07:00
Material Design Team
0a4e419242 Automated g4 rollback of changelist 522443049
PiperOrigin-RevId: 523143316
2023-04-11 19:57:22 -07:00
pekingme
303fabd331 [Dialog] Made dialog background color configurable in XML styles.
PiperOrigin-RevId: 522443049
2023-04-10 14:57:51 +00:00
pekingme
9f1caa2c64 [Tokens] Upgraded to v0.162.
PiperOrigin-RevId: 517446114
2023-03-20 21:23:07 +00:00
dsn5ft
5689ce2608 [i18n] Update string translations
PiperOrigin-RevId: 513006191
2023-02-28 22:08:20 +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
23dc14ca3a [Tokens] Updated to v0.157.
PiperOrigin-RevId: 505978081
2023-01-31 20:01:13 +00:00
pekingme
f8eca49c9c [Dialog] Integrated tokens.
PiperOrigin-RevId: 500718931
2023-01-10 02:44:42 -05: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
2977a75f29 [SearchBar][SearchView] Removed M3 search style references from Material theme.
PiperOrigin-RevId: 490020028
2022-11-22 12:30:07 -05:00
raajkumars
d1bacf55db [M3][SearchBar] Added new SearchBar and SearchView components
PiperOrigin-RevId: 490002827
2022-11-21 13:02:32 -05:00
hunterstich
8d8a0d14ae [Dialog][DatePicker][TimePicker] Updated enter/exit animation to use fade pattern and motion tokens.
Added xml implementations of the Material Fade pattern (https://github.com/material-components/material-components-android/blob/master/docs/theming/Motion.md#fade) and updated all dialogs to use the new animators for enter and exit animations.

PiperOrigin-RevId: 489271559
2022-11-18 16:55:59 -05: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
Material Design Team
44cc9b745c Add @CanIgnoreReturnValue to some APIs that return this.
PiperOrigin-RevId: 468721442
2022-08-22 15:22:27 -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
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
dsn5ft
391d2b2c34 [MaterialAlertDialog] Update M3 style to use new shapeAppearanceCornerExtraLarge attr
PiperOrigin-RevId: 444852173
2022-04-27 10:23:46 -04:00
conradchen
431e291b01 [Translation] Update string translations
PiperOrigin-RevId: 443191056
2022-04-20 17:19:02 -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