summaryrefslogtreecommitdiff
path: root/library/main/res/values/styles.xml
diff options
context:
space:
mode:
authorMaurice Lam <yukl@google.com>2017-03-02 17:41:27 -0800
committerMaurice Lam <yukl@google.com>2017-03-02 17:43:35 -0800
commit39056e5dc4b068745c2d9be69e5cd0c008bdc117 (patch)
treec7c8da47696a31d73ea70e9297d51f2bb1cc989d /library/main/res/values/styles.xml
parentd3ffc713be68823409d5dc6d2d44bb21bde5bfd0 (diff)
downloadsetupwizard-39056e5dc4b068745c2d9be69e5cd0c008bdc117.tar.gz
Make status bar white on GLIF pixel theme
Add attributes suwBackgroundBaseColor and suwBackgroundPatterned to GlifLayout, which allows the GLIF Pixel theme to display a solid off-white status bar background instead of the pattern in regular GLIF. Test: ./gradlew connectedAndroidTest test Bug: 35446596 Change-Id: Icbf3608882367ce00188fd124df5d2ba0de00864
Diffstat (limited to 'library/main/res/values/styles.xml')
-rw-r--r--library/main/res/values/styles.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/library/main/res/values/styles.xml b/library/main/res/values/styles.xml
index 9a32c38..93720eb 100644
--- a/library/main/res/values/styles.xml
+++ b/library/main/res/values/styles.xml
@@ -20,10 +20,18 @@
<!-- General styles -->
<style name="SuwThemeGlifPixel" parent="SuwThemeGlif">
+ <item name="android:windowLightStatusBar" tools:targetApi="m">false</item>
+
+ <item name="suwBackgroundBaseColor">?android:attr/colorBackground</item>
+ <item name="suwBackgroundPatterned">false</item>
<item name="suwGlifHeaderGravity">center_horizontal</item>
</style>
<style name="SuwThemeGlifPixel.Light" parent="SuwThemeGlif.Light">
+ <item name="android:windowLightStatusBar" tools:targetApi="m">true</item>
+
+ <item name="suwBackgroundBaseColor">?android:attr/colorBackground</item>
+ <item name="suwBackgroundPatterned">false</item>
<item name="suwGlifHeaderGravity">center_horizontal</item>
</style>