ldjesper
294f12498d
Rename setCornerRadius to setAllCornerSizes
...
PiperOrigin-RevId: 272959729
2019-10-04 20:08:43 -04:00
dniz
b99709200e
Add support for Snackbar message text styling via snackbarTextViewStyle attr
...
PiperOrigin-RevId: 272198481
2019-10-01 12:35:27 -04:00
dniz
b1a6256ac1
Move Material-only default component styles from full themes to bridge themes
...
The Bridge themes are guaranteed to be a no-op when migrating from an AppCompat theme, so we can set any new attributes introduced by Material in the Bridge themes.
Resolves https://github.com/material-components/material-components-android/issues/623
PiperOrigin-RevId: 272021042
2019-10-01 04:07:53 -04:00
cketcham
e44b7f765d
Add default slider style to the themes
...
PiperOrigin-RevId: 268693120
2019-09-12 14:28:12 -04:00
marianomartin
215a839598
Internal cleanup
...
PiperOrigin-RevId: 267504117
2019-09-12 13:48:16 -04:00
marianomartin
0d4515cb46
Internal cleanup
...
PiperOrigin-RevId: 265971745
2019-08-29 14:59:20 -04:00
dniz
72cfef981b
Rename prefix mtrl_ to material_ in public resources
...
PiperOrigin-RevId: 265729121
2019-08-29 12:16:13 -04:00
cketcham
78f945776a
Add @NonNull and @Nullable annotations
...
PiperOrigin-RevId: 265057424
2019-08-29 11:08:56 -04:00
dniz
0512f776c5
Remove sub-package AndroidManifest.xml files from lib directory
...
PiperOrigin-RevId: 258390736
2019-07-16 13:18:32 -04:00
ldjesper
39f4a36d0b
Remove Abstract Calendar Pickers in favor of options
...
PiperOrigin-RevId: 256402016
2019-07-03 14:16:01 -04:00
dniz
f2db1d9ac9
Add color theme attributes that swap between primary and surface colors depending on light vs dark theme
...
Makes it easier for devs to implement: https://material.io/design/color/dark-theme.html#custom-application
PiperOrigin-RevId: 255962470
2019-07-03 14:05:18 -04:00
marianomartin
164bf0fabd
Internal cleanup
...
PiperOrigin-RevId: 255609320
2019-07-03 14:02:53 -04:00
dniz
6783f9e1cd
Clean up naming of elevation overlay methods and attributes
...
PiperOrigin-RevId: 253283047
2019-06-18 13:34:29 -04:00
ldjesper
bc36b699cc
Fix MaterialAlertDialogBuilder to resepct setCanceledOnTouchOutside by removing onBackPress call in favor of click with fixed outside location
...
PiperOrigin-RevId: 250555478
2019-05-29 17:03:26 -04:00
dniz
daa3a04069
DayNight Bridge Themes
...
Also add some non-Base dialog themes that were missing
PiperOrigin-RevId: 250520918
2019-05-29 16:30:39 -04:00
cketcham
6e250a6a0d
Add colorSecondary to bridge themes
...
PiperOrigin-RevId: 250495874
2019-05-29 16:28:16 -04:00
leticiars
b8f9f5e91a
Setting android:contextPopupMenuStyle in dialog themes.
...
PiperOrigin-RevId: 249679678
2019-05-24 14:26:11 -04:00
connieshi
ebaccf5a85
Add support for badgeStyle, a theme level style attribute for customizing the appearance of badges.
...
PiperOrigin-RevId: 249338990
2019-05-24 14:16:22 -04:00
dniz
53abdffe40
Fix non-base dialog bridge themes
...
PiperOrigin-RevId: 249255677
2019-05-24 14:12:18 -04:00
leticiars
0f7eaaa94f
Adding styling for ListPopupWindow along with dark theme support.
...
PiperOrigin-RevId: 249244399
2019-05-24 14:10:53 -04:00
marianomartin
90837ec485
Internal cleanup
...
PiperOrigin-RevId: 249243403
2019-05-21 12:15:07 -04:00
dniz
c32a7b5548
Fix typo in Base.Theme.MaterialComponents.Dialog.MinWidth.Bridge theme name
...
PiperOrigin-RevId: 249079599
2019-05-21 12:11:23 -04:00
dniz
8f622283d1
Remove CSL theme attribute workarounds
...
Also update androidx dependencies to get latest fixes: appcompat to 1.1.0-alpha04 and core to 1.1.0-alpha05
PiperOrigin-RevId: 246804285
2019-05-06 10:34:04 -04:00
dniz
34a3a46f61
Update Tabs to default to surface style in Dark Theme
...
PiperOrigin-RevId: 245217332
2019-04-29 15:39:42 -07:00
dniz
d5ab5910dc
Update Bottom Navigation to default to surface style in Dark Theme
...
PiperOrigin-RevId: 245041248
2019-04-29 15:31:01 -07:00
dniz
5249f54ab1
Update AppBarLayout and ActionBar to default to surface style in Dark Theme
...
Also update Dark Theme colorPrimaryDark to be #000000 to match
PiperOrigin-RevId: 245028116
2019-04-29 15:30:11 -07:00
ldjesper
24a2502e15
Split windowBackground into pre-21
...
PiperOrigin-RevId: 244055856
2019-04-19 21:30:42 -04:00
ldjesper
59070cc111
Simplified the redundant naming of MaterialAttributes static methods.
...
Added default values for non-throw cases.
Avoid returning TypedValue to simplify code using the helper methods.
PiperOrigin-RevId: 244007695
2019-04-19 21:27:28 -04:00
ldjesper
b2aa764e38
Default Dialog windowBackground color to colorSurface for darkmode pickers.
...
PiperOrigin-RevId: 243849451
2019-04-19 21:14:52 -04:00
ldjesper
a94152a475
Change GM Dialog elevation to 6dp (which improves text contrast) and correct theme loading order such that materialAlertDialogTheme correctly overrides attributes in alertDialogTheme.
...
PiperOrigin-RevId: 243708330
2019-04-19 21:09:36 -04:00
ldjesper
9809b797bf
Shrink inset margins for landscape mode of dialogs
...
PiperOrigin-RevId: 243103737
2019-04-19 15:42:29 -04:00
dniz
6d4ffa29e3
AppBarLayout Dark Theme Elevation Overlays support, including animated overlay for Lift On Scroll
...
PiperOrigin-RevId: 241791205
2019-04-05 15:47:39 -04:00
dniz
760a99f883
Enable Elevation Overlays for Dark Themes and update surface colors to match spec
...
PiperOrigin-RevId: 240425682
2019-03-26 17:35:50 -04:00
marianomartin
912045f642
[Menu] Add overlay color for APIs 23 and up
...
PiperOrigin-RevId: 239214849
2019-03-22 16:52:26 -04:00
ldjesper
d75c00043d
Use ViewCompat for getElevation for MaterialAlertDialogBuilder
...
PiperOrigin-RevId: 238543065
2019-03-22 16:14:19 -04:00
ldjesper
19b696015a
Apply Elevation Overlay for Dark Theme Dialogs
...
PiperOrigin-RevId: 238535985
2019-03-22 16:11:50 -04:00
dniz
7b594393c8
Dark Theme Elevation Overlay system
...
PiperOrigin-RevId: 237829773
2019-03-22 16:02:26 -04:00
gauthams
cad9d7d5f5
Add MaterialButtonToggleGroup
...
PiperOrigin-RevId: 236745008
2019-03-08 09:56:58 -05:00
cketcham
5287b8eb45
Add bridge themes for Dialog
...
PiperOrigin-RevId: 234216058
2019-02-24 14:20:27 -05:00
marianomartin
991927fd8f
Add an attribute for materialButtonOutlinedStyle
...
It's a common use case to want to mix up buttons with outlined buttons and an attribute facilitates reusing layouts with different themes.
PiperOrigin-RevId: 234189427
2019-02-24 14:16:47 -05:00
ldjesper
e22d745ec0
materialAlertDialogTheme changes to spec (padding, text opacity, scrim color, divider color)
...
PiperOrigin-RevId: 231757787
2019-02-11 11:06:48 -08:00
Material Design Team
63d11da7e5
Extended FAB.
...
Implementation of an ExtendedFloatingActionButton which extends from a MaterialButton.
PiperOrigin-RevId: 231682739
2019-02-11 11:04:14 -08:00
ldjesper
37a8acf454
Spinner Picker Window Shape
...
PiperOrigin-RevId: 230618573
2019-01-25 13:59:37 -05:00
ldjesper
3b2186fb2c
Reduces inset margins for small devices
...
PiperOrigin-RevId: 229549538
2019-01-18 14:17:11 -05:00
dniz
11df79f95c
Clean up Gradle build shorthands for appcompat/androidx libraries
...
PiperOrigin-RevId: 229369959
2019-01-18 14:13:26 -05:00
ldjesper
499dc02f8c
Respect dialogCornerRadius in MaterialAlertDialogBuilders.
...
PiperOrigin-RevId: 228337335
2019-01-10 16:46:42 -05:00
ldjesper
46ce278ebb
Add Dialogs to ShapeThemeingDemo and fix Overlay ordering
...
PiperOrigin-RevId: 226213645
2018-12-21 11:32:29 -05:00
ldjesper
52c5e72d81
Remove top level dialog attributes in favor of materialAlertDialogTheme
...
PiperOrigin-RevId: 226210511
2018-12-21 11:30:35 -05:00
cketcham
dc72aaeed4
Migrate Gradle build and sources to androidx
...
PiperOrigin-RevId: 225551505
2018-12-21 11:07:45 -05:00
Material Design Team
649828b6df
Automated g4 rollback of changelist 225407398
...
PiperOrigin-RevId: 225418035
2018-12-21 10:47:43 -05:00