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
Material Design Team
a487c89185
Internal change
...
PiperOrigin-RevId: 412135443
2021-11-29 17:35:39 +00:00
conradchen
728a1e658b
[M3][Dialog] Enforce material theme in M3 dialog styles
...
PiperOrigin-RevId: 410027983
2021-11-16 12:38:56 -05:00
pfthomas
bed2ac17a7
[M3] Add textAppearanceListItem* styles to theme
...
PiperOrigin-RevId: 406832937
2021-11-01 19:31:19 +00:00
conradchen
a1e33f19d4
[M3][Dialog] Simplify M3 dialog theme structure
...
Removes unneeded inheritance structure to improve maintainability and readability.
PiperOrigin-RevId: 401327728
2021-10-06 20:12:43 -04:00
conradchen
d045b2d1eb
[M3][Dialog] Update M3 dialog elevation
...
PiperOrigin-RevId: 400245762
2021-10-05 08:36:59 -04:00
conradchen
ff2c03b099
[M3][Color] Implement M3 text colors
...
PiperOrigin-RevId: 399682484
2021-09-29 10:54:25 -04:00
conradchen
b40b782525
[M3][Card] Add filled card style to M3 themes
...
PiperOrigin-RevId: 398780149
2021-09-28 14:52:04 +00:00
conradchen
23f1af15a1
[M3][Dialog] Update M3 dialog dev doc
...
PiperOrigin-RevId: 398733152
2021-09-24 18:08:42 +00:00
dsn5ft
241e855552
[M3][Theme] Remove some todos
...
PiperOrigin-RevId: 398732498
2021-09-24 18:06:42 +00:00
hunterstich
d0edb45893
[M3][NavigationView] Added Material 3 styles for navigation view.
...
PiperOrigin-RevId: 398719344
2021-09-24 17:51:53 +00:00
conradchen
c3e8fa60f1
[M3][Dialog] Update M3 dialog paddings
...
PiperOrigin-RevId: 398262777
2021-09-23 19:25:58 +00:00
hunterstich
c6d0f7c785
[M3][NavigationRail] Added new navigation rail styles.
...
PiperOrigin-RevId: 397846116
2021-09-21 08:35:12 -07:00
dsn5ft
445c4979b3
[M3][Top App Bar] Updated ActionBar and ActionMode styling
...
PiperOrigin-RevId: 397107223
2021-09-20 10:59:34 -07:00