2064 Commits

Author SHA1 Message Date
extmkv
9382bb03c3 [CollapsingToolbarLayout] When scrimAnimator already created we must update the duration when calling setScrimAnimationDuration
Resolves https://github.com/material-components/material-components-android/pull/1575

GIT_ORIGIN_REV_ID=7e3f5f99fa650b0282a5338eac254ec71593e795
PiperOrigin-RevId: 394035205
2021-09-01 17:03:15 -04:00
dsn5ft
8357c9a4a8 [M3][Color] Split dynamic color token resources into values-v31
PiperOrigin-RevId: 394013771
2021-08-31 12:02:28 -04:00
pfthomas
f80b866029 [M3][Chip] Remove duplicate line
PiperOrigin-RevId: 394004910
2021-08-31 12:00:56 -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
Victor Cervantes
153fdee2f6 [MaterialButton] Material button lollipop shape fix
Resolves https://github.com/material-components/material-components-android/pull/2331
Resolves https://github.com/material-components/material-components-android/issues/1797

GIT_ORIGIN_REV_ID=cd176426395bf93f701c623c00947384aabf0706
PiperOrigin-RevId: 393405994
2021-08-27 17:29:19 -04:00
hunterstich
619c95c2f8 [NavigationBar] Fixed menu visibility changes causing active indicator flashing.
PiperOrigin-RevId: 393365926
2021-08-27 15:04:47 -04:00
conradchen
27e7b00057 [M3][Color] Create SurfaceColors class in M3
PiperOrigin-RevId: 393359735
2021-08-27 15:00:29 -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
8968255508 [Divider] Internal change
PiperOrigin-RevId: 393183376
2021-08-27 14:46:57 -04:00
serniebanders
7f597a711c [M3][Chip] Create M3 styles
PiperOrigin-RevId: 393154962
2021-08-26 15:10:34 -04:00
conradchen
fabb5ea498 [M3][Divider] Create M3 styles
PiperOrigin-RevId: 393151662
2021-08-26 15:09:37 -04:00
conradchen
2901012af5 [M3][DatePicker] Create M3 styles
PiperOrigin-RevId: 392982386
2021-08-26 14:43:23 -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
dsn5ft
ebacf79ec1 [M3][Top App Bar] Reorganize styles
PiperOrigin-RevId: 392705930
2021-08-24 15:57:22 -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
f2eaf0c40a [M3][NavigationBar] Reorganize resources.
PiperOrigin-RevId: 392693833
2021-08-24 15:53:56 -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
a1d09aca2e [M3][TimePicker] Create M3 styles
PiperOrigin-RevId: 392670393
2021-08-24 15:49:01 -04:00
conradchen
a342adcac7 [M3][RadioButton] Create M3 styles
PiperOrigin-RevId: 392651948
2021-08-24 15:48:05 -04:00
pekingme
585fd8df89 [M3][Tokens] Integrated shape resources.
PiperOrigin-RevId: 392530797
2021-08-24 15:44:16 -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
conradchen
a7cb1f0556 [M3][Tooltip] Create M3 styles
PiperOrigin-RevId: 392481522
2021-08-24 15:41:06 -04:00
pekingme
083f01d8e3 [M3][Tokens] Integrated motion resources.
PiperOrigin-RevId: 392468784
2021-08-24 15:40:16 -04:00
pekingme
d1fb3f9ad2 [M3][Tokens] Integrated state layer resources.
PiperOrigin-RevId: 392465519
2021-08-24 15:38:15 -04:00
conradchen
2dfa3d6906 [TimePicker] Clean-up TextApprearance overriding
1. Creates a new attribute so we don't have to override existing TextAppearance attributes.
2. Removes unnecessary TextAppearance attributes overriding.

PiperOrigin-RevId: 392465193
2021-08-24 15:37:18 -04:00
conradchen
906fb2d6d5 [M3][Switch] Create M3 styles
PiperOrigin-RevId: 392441384
2021-08-23 10:09:01 -07:00
conradchen
febe25707c [M3][DynamicColor] Create dynamic color support in M3
PiperOrigin-RevId: 392425782
2021-08-23 09:46:04 -07:00
jeremymuhia
b06977b5db [M3][FAB] create M3 styles for regular FAB
PiperOrigin-RevId: 392072670
2021-08-23 09:45:13 -07:00
conradchen
804cd600b0 [M3][Tab] Make secondary style change label color when selected
To align with the behavior of the main style.

PiperOrigin-RevId: 392037281
2021-08-23 09:44:30 -07:00
pekingme
3caa9cdfea [M3][Tokens] Integrated elevation resources.
PiperOrigin-RevId: 392029517
2021-08-23 09:43:45 -07:00
conradchen
8123c63747 [Menu] Fix toolbar menu arrow not visible
In toolbar styles we use android:theme to override text and icon colors and set ?attr/colorControlNormal to ?attr/colorOnPrimary, which is the same color (white) in the light mode as the menu background. To override this behavior again, we need to use ?attr/popupTheme and set ?attr/colorControlNormal to ?attr/colorOnSurface.

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

PiperOrigin-RevId: 392003704
2021-08-23 09:36:09 -07:00
conradchen
60782a5d9b [M3][Tab] Create M3 styles
PiperOrigin-RevId: 391849752
2021-08-23 09:29:03 -07:00
dsn5ft
cb74134075 [M3][Top App Bar] Fixed collapsing toolbar collapsed title text appearance
PiperOrigin-RevId: 391821355
2021-08-23 09:27:39 -07:00
pekingme
293457c6f8 [M3][Tokens] Integrated typography system resources.
PiperOrigin-RevId: 391801740
2021-08-23 09:25:55 -07:00
dsn5ft
a461de5fd8 [M3][Text Field] Updated text appearance mappings
PiperOrigin-RevId: 391786230
2021-08-23 09:24:52 -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
pekingme
23c9f27621 [M3][Tokens] Updated ref colors, background/surface color, and error color.
PiperOrigin-RevId: 391779908
2021-08-23 09:23:22 -07:00
conradchen
edbc4e1f64 [M3][Textfield] Create M3 styles
PiperOrigin-RevId: 391773145
2021-08-23 09:22:14 -07:00
dsn5ft
f428f20829 [M3][Color] Updated colorPrimaryDark to point to colorPrimary
Also updated Catalog edge-to-edge logic to handle "light status bar", and default to edge-to-edge enabled for Q+

PiperOrigin-RevId: 391763801
2021-08-23 09:21:21 -07:00
dsn5ft
18490ff82d [M3][Top App Bar] Added new AppBarLayout, CollapsingToolbarLayout, and Toolbar styles and updated Catalog pages + demos
PiperOrigin-RevId: 391755524
2021-08-23 09:20:24 -07:00
dsn5ft
b9e5797c73 [M3][Color] Set up elevation overlays and colors in themes + theme overlays
PiperOrigin-RevId: 391744768
2021-08-23 09:19:24 -07:00
pekingme
0995f99965 [M3][Tokens] Integrated color system resources.
PiperOrigin-RevId: 391597925
2021-08-23 09:18:25 -07:00
dsn5ft
5d940f1ff8 [M3][Catalog] Update Catalog theme(s) to Material3 and fix Material3 date/time picker theme overlays
PiperOrigin-RevId: 391581833
2021-08-23 09:17:02 -07:00