aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2016-01-07 17:14:28 -0800
committerScott Jackson <daneren2005@gmail.com>2016-01-07 17:14:28 -0800
commit3817649f1558f0e4c90c4cff137f90209c359ca9 (patch)
treee16f58e041965dea872ecc562630f1000cffdaa4 /app/src
parent3a046f4d90b1705ecca24877461367052c778dfd (diff)
downloaddsub-3817649f1558f0e4c90c4cff137f90209c359ca9.tar.gz
dsub-3817649f1558f0e4c90c4cff137f90209c359ca9.tar.bz2
dsub-3817649f1558f0e4c90c4cff137f90209c359ca9.zip
Fix drawer not being behind notification bar on Black/Holo themes
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/res/values-v21/themes.xml6
-rw-r--r--app/src/main/res/values/themes.xml8
2 files changed, 12 insertions, 2 deletions
diff --git a/app/src/main/res/values-v21/themes.xml b/app/src/main/res/values-v21/themes.xml
index 5c54b75a..6461130a 100644
--- a/app/src/main/res/values-v21/themes.xml
+++ b/app/src/main/res/values-v21/themes.xml
@@ -7,6 +7,12 @@
<style name="Theme.DSub.Dark" parent="Theme.DSub.Dark.Base">
<item name="android:windowTranslucentStatus">true</item>
</style>
+ <style name="Theme.DSub.Black" parent="Theme.DSub.Black.Base">
+ <item name="android:windowTranslucentStatus">true</item>
+ </style>
+ <style name="Theme.DSub.Holo" parent="Theme.DSub.Holo.Base">
+ <item name="android:windowTranslucentStatus">true</item>
+ </style>
<style name="Theme.DSub.Light.No_Color" parent="Theme.DSub.Light.No_Color.Base">
<item name="android:windowTranslucentStatus">false</item>
diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml
index 12784b94..69201c3e 100644
--- a/app/src/main/res/values/themes.xml
+++ b/app/src/main/res/values/themes.xml
@@ -134,10 +134,12 @@
<style name="Theme.DSub.Dark" parent="Theme.DSub.Dark.Base">
<item name="cardBackgroundDrawable">@drawable/card_rounded_corners_dark</item>
</style>
- <style name="Theme.DSub.Black" parent="Theme.DSub.Dark.Base">
+ <style name="Theme.DSub.Black.Base" parent="Theme.DSub.Dark.Base">
<item name="android:windowBackground">@android:color/black</item>
</style>
- <style name="Theme.DSub.Holo" parent="Theme.DSub.Dark.Base">
+ <style name="Theme.DSub.Black" parent="Theme.DSub.Black.Base">
+ </style>
+ <style name="Theme.DSub.Holo.Base" parent="Theme.DSub.Dark.Base">
<item name="android:windowBackground">@drawable/background</item>
<item name="colorPrimary">@color/holoPrimary</item>
<item name="colorPrimaryDark">@color/holoPrimaryDark</item>
@@ -145,6 +147,8 @@
<item name="actionbarBackgroundColor">@color/holoPrimary</item>
<item name="drawerHeaderBackground">@drawable/drawer_header_holo</item>
</style>
+ <style name="Theme.DSub.Holo" parent="Theme.DSub.Holo.Base">
+ </style>
<style name="Theme.DSub.Light.No_Actionbar" parent="Theme.DSub.Light">
<item name="windowActionBar">false</item>