diff options
author | Bob Yang <zonghuayang@google.com> | 2022-01-03 09:01:18 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2022-01-03 09:01:18 +0000 |
commit | e1cadfcbd846977885e0aaa691be53e21d5ff3cf (patch) | |
tree | 76170f05af2bac296d36288d478f4c233b397bd9 /res/values | |
parent | 93ac02f6355e066d1820f022111f6318f8e7a1e7 (diff) | |
parent | d58f05ff249d0db1ace432433b0daa0bcc3ce0df (diff) | |
download | ThemePicker-e1cadfcbd846977885e0aaa691be53e21d5ff3cf.tar.gz |
Merge "Add items in styles to support snackbar"
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/styles.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml index c0a0aeda..3991b652 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -41,6 +41,17 @@ <item name="android:windowContentOverlay">@null</item> <item name="android:windowDisablePreview">true</item> + <item name="snackbarStyle">@style/SnackbarMargin</item> + + <item name="borderlessButtonStyle">@style/Widget.AppCompat.Button.Borderless</item> + <item name="colorAccent">@color/accent_color</item> + <item name="colorSurface">@color/design_default_color_surface</item> + <item name="colorOnSurface">@color/design_default_color_on_surface</item> + </style> + + <!-- Snackbar margin --> + <style name="SnackbarMargin" parent="Widget.MaterialComponents.Snackbar"> + <item name="android:layout_margin">48dp</item> </style> <!-- Bottom nav --> |