summaryrefslogtreecommitdiff
path: root/library/gingerbread/res/values/styles.xml
diff options
context:
space:
mode:
authorMaurice Lam <yukl@google.com>2017-11-21 18:39:27 -0800
committerMaurice Lam <yukl@google.com>2017-11-21 18:39:27 -0800
commit4d2145974cef3022ec4162d77ef50d74a720c4f0 (patch)
tree445a99063ddf414664ef91d01dc0cc664e593f6c /library/gingerbread/res/values/styles.xml
parentc14032ba1f80dd1e1877eadec2543546e9d0f449 (diff)
downloadsetupwizard-4d2145974cef3022ec4162d77ef50d74a720c4f0.tar.gz
Specify colorBackground in material theme
Lollipop and Marshmallow have different background colors. Specify the color in SuwThemeMaterial so they are consistent across OS versions. Test: Manual Bug: 69563212 Change-Id: Ice36a8f74796c0dd804fa897d74188c9ff88354d
Diffstat (limited to 'library/gingerbread/res/values/styles.xml')
-rw-r--r--library/gingerbread/res/values/styles.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/gingerbread/res/values/styles.xml b/library/gingerbread/res/values/styles.xml
index 6e525ef..b556f07 100644
--- a/library/gingerbread/res/values/styles.xml
+++ b/library/gingerbread/res/values/styles.xml
@@ -20,6 +20,7 @@
<!-- General styles -->
<style name="SuwThemeMaterial" parent="Theme.AppCompat.NoActionBar">
+ <item name="android:colorBackground">@color/suw_color_background_dark</item>
<item name="android:indeterminateTint" tools:ignore="NewApi">@color/suw_progress_bar_color_dark</item>
<!-- Specify the indeterminateTintMode to work around a bug in Lollipop -->
<item name="android:indeterminateTintMode" tools:ignore="NewApi">src_in</item>
@@ -51,6 +52,7 @@
</style>
<style name="SuwThemeMaterial.Light" parent="Theme.AppCompat.Light.NoActionBar">
+ <item name="android:colorBackground">@color/suw_color_background_light</item>
<item name="android:indeterminateTint" tools:ignore="NewApi">@color/suw_progress_bar_color_light</item>
<!-- Specify the indeterminateTintMode to work around a bug in Lollipop -->
<item name="android:indeterminateTintMode" tools:ignore="NewApi">src_in</item>