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
pubiqq
3ca41be8f0
[General] Fix typos
...
Resolves https://github.com/material-components/material-components-android/pull/2654
GIT_ORIGIN_REV_ID=b8f6728979875629f2c813ef90d2f671cf56b4eb
PiperOrigin-RevId: 442852630
2022-04-19 14:48:55 -04:00
hunterstich
0ab2068bac
[Motion] Add new motion system duration theming
...
PiperOrigin-RevId: 436975443
2022-03-28 15:57:30 +00:00
hunterstich
0d91f4ac3b
[Motion] Add motion easing xml interpolators and theme attributes.
...
PiperOrigin-RevId: 435639751
2022-03-18 18:52:15 +00:00
pekingme
91c25301db
[Tokens] Migrated deprecated motion token generated resources.
...
PiperOrigin-RevId: 434493204
2022-03-14 18:54:01 +00:00
pfthomas
0f2b5378f7
[Top App Bar][ActionMode] Make title and subtitle match ActionBar's
...
Resolves https://github.com/material-components/material-components-android/issues/2189
PiperOrigin-RevId: 425712147
2022-02-01 22:00:53 -08:00
conradchen
1c5c054b70
[Dialog] Fix crashes when colorControlHighlight is a CSL
...
We set ?attr/colorControlHighlight as scroll indicators' background attribute. However, on older platforms this will crash the app due to Android expects a drawable or a plain color for the background attribute.
Changes the view to TextView so it will be rendered as MaterialTextView, which supports app:backgroundTint with CSLs. Also changes the base background color to #1F000000 and the tint color to ?attr/colorForeground, which are aligned with what framework's alert dialog implementation is doing.
Resolves https://github.com/material-components/material-components-android/issues/2455
PiperOrigin-RevId: 423917985
2022-01-25 14:48:33 -05:00
conradchen
8342f9025e
[M3][Dialog] Add date and time picker themes to M3 dialog themes
...
Also moves all theme overlays to separate files for internal building purpose.
PiperOrigin-RevId: 421385265
2022-01-13 12:18:05 -05:00
conradchen
a43d7d993c
[M3][Theme] Internal change
...
PiperOrigin-RevId: 419602208
2022-01-04 18:01:05 -05:00
pfthomas
8bc64201d4
[AlertDialog][a11y] Make dialog icon not important for accessibility
...
Resolves https://github.com/material-components/material-components-android/issues/1400
PiperOrigin-RevId: 419600919
2022-01-04 18:00:22 -05:00
Material Design Team
bc811d231b
Automated g4 rollback of changelist 418911641
...
PiperOrigin-RevId: 418915787
2022-01-04 17:59:36 -05:00
pfthomas
bd15f071e1
[AlertDialog][a11y] Make dialog icon not important for accessibility
...
Resolves https://github.com/material-components/material-components-android/issues/1400
PiperOrigin-RevId: 418911641
2022-01-04 17:58:32 -05:00
conradchen
246b3400ec
[M3][Dialog] Fix dialog icon color tint
...
Only tints dialog icons when it's an SVG with colorControlNormal, which is the common default color used by vector icons.
PiperOrigin-RevId: 418666657
2021-12-29 13:56:43 -05:00
conradchen
672e7440f9
[M3][Dialog] Fix dialog paddings
...
We missed to include top/bottom insets of button styles into dialog action margin calculation. Also the paddings between titles and messages were not correct.
PiperOrigin-RevId: 417626927
2021-12-22 14:46:19 -05:00
conradchen
2ae3ca4298
[M3][ActionBar] Migrate action bar popup themes to M3
...
PiperOrigin-RevId: 417454499
2021-12-20 16:11:30 -05:00
conradchen
9980596586
[M3][Dialog] Start-align message text with centered styles
...
According to the spec the centered dialog theme overlay should have message text start-aligned and it's also the previous behavior in old MaterialComponent theme overlay.
Spec: https://m3.material.io/components/dialogs/specs
PiperOrigin-RevId: 413671708
2021-12-06 19:29:03 +00:00