167 Commits

Author SHA1 Message Date
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
afohrman
3af8a93e18 [M3 Dialog] Set alert dialog icon size and color.
Icon size changed from 32dp to 24dp and icon color changed from ?attr/colorOnSurface to ?attr/colorSecondary.

PiperOrigin-RevId: 396847651
2021-09-16 13:04:48 -07:00
conradchen
db699385b2 [M3][Theme] List widget style attributes to add to base themes
PiperOrigin-RevId: 396624457
2021-09-16 11:48:10 -07:00
pekingme
ad953814e9 [Theme] Added theme testing for MaterialComponents and added progress indicator styles in MaterialComponents dialog themes.
PiperOrigin-RevId: 396401732
2021-09-16 11:34:28 -07:00
afohrman
f01e6a849d [M3][Dialog] Add M3 styles for Dialog.
PiperOrigin-RevId: 395775598
2021-09-15 12:31:13 -07:00
jeremymuhia
054f1dba1e [M3][FAB] add tertiary FAB color variant
PiperOrigin-RevId: 395721687
2021-09-15 12:22:52 -07:00
conradchen
f0654ef3d1 [M3][Textfield] Internal change
PiperOrigin-RevId: 395557775
2021-09-08 17:43:13 -04:00
conradchen
41219f05ac [M3][Snackbar] Create snack bar styles
PiperOrigin-RevId: 394314511
2021-09-02 13:01:09 -04:00
pekingme
5c2a5920d5 [M3][ProgressIndicator] Created progress indicator's M3 styles.
PiperOrigin-RevId: 394263058
2021-09-01 17:07:57 -04:00
serniebanders
492e37f46f [M3] Chip style updates
PiperOrigin-RevId: 393994946
2021-08-31 10:46:09 -04:00
serniebanders
167b1986e7 [M3] BottomAppBar component styles
PiperOrigin-RevId: 393779583
2021-08-30 15:27:17 -04:00
jeremymuhia
786e6b5df7 [M3][Badge] create M3 styles for Badge
PiperOrigin-RevId: 393350044
2021-08-27 14:59:36 -04:00
pfthomas
0998e9d018 [M3][Menu] Create M3 styles
PiperOrigin-RevId: 393191642
2021-08-27 14:51:55 -04:00
conradchen
fabb5ea498 [M3][Divider] Create M3 styles
PiperOrigin-RevId: 393151662
2021-08-26 15:09:37 -04:00
conradchen
e5fb9d1fbd [M3][Card] Create M3 styles
PiperOrigin-RevId: 392875925
2021-08-25 14:57:05 -04:00
conradchen
4e0d5b018c [M3][Checkbox] Create M3 styles
PiperOrigin-RevId: 392760639
2021-08-25 14:55:54 -04:00
jeremymuhia
ca8f4cbb80 [M3][Large FAB] create M3 styles for large FAB
PiperOrigin-RevId: 392701548
2021-08-24 15:55:38 -04:00
hunterstich
999b24783c [M3][NavigationBar] Add new navigation bar styles.
PiperOrigin-RevId: 392688526
2021-08-24 15:52:44 -04:00
pfthomas
6bfa5842b9 [M3][Button] Create M3 styles
PiperOrigin-RevId: 392680177
2021-08-24 15:51:48 -04:00
dsn5ft
8670643c30 [M3][Theme] Add isMaterial3Theme attr and set to true in 4 main Material3 themes
PiperOrigin-RevId: 392677525
2021-08-24 15:51:02 -04:00
dsn5ft
1cf724b2ed [M3][Color] Use colorPrimary for elevation overlay color for both baseline and dynamic
PiperOrigin-RevId: 392672114
2021-08-24 15:50:00 -04:00
conradchen
a342adcac7 [M3][RadioButton] Create M3 styles
PiperOrigin-RevId: 392651948
2021-08-24 15:48:05 -04:00
conradchen
0064aa1e9c [M3][Slider] Create M3 styles
PiperOrigin-RevId: 392503743
2021-08-24 15:43:21 -04:00
jeremymuhia
6ba1a9206f [M3][eFAB] create M3 styles for extended FAB
PiperOrigin-RevId: 392502584
2021-08-24 15:42:13 -04:00
pekingme
083f01d8e3 [M3][Tokens] Integrated motion resources.
PiperOrigin-RevId: 392468784
2021-08-24 15:40:16 -04:00
conradchen
906fb2d6d5 [M3][Switch] Create M3 styles
PiperOrigin-RevId: 392441384
2021-08-23 10:09:01 -07:00
jeremymuhia
b06977b5db [M3][FAB] create M3 styles for regular FAB
PiperOrigin-RevId: 392072670
2021-08-23 09:45:13 -07:00
conradchen
60782a5d9b [M3][Tab] Create M3 styles
PiperOrigin-RevId: 391849752
2021-08-23 09:29:03 -07:00
dsn5ft
0c6f435a40 [M3][Top App Bar] Fixed styling in themes due to bad merge
PiperOrigin-RevId: 391780715
2021-08-23 09:24:07 -07:00