aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2016-01-15 20:04:22 -0800
committerScott Jackson <daneren2005@gmail.com>2016-01-15 20:04:22 -0800
commitd77bbd8f2f14c07d43727698d27b458234392657 (patch)
tree4bda950a5b0df22fb8d89c68726e5ec4d8723663
parentac690bf6ecea345aa77e2d71355542d000aba9b7 (diff)
downloaddsub-d77bbd8f2f14c07d43727698d27b458234392657.tar.gz
dsub-d77bbd8f2f14c07d43727698d27b458234392657.tar.bz2
dsub-d77bbd8f2f14c07d43727698d27b458234392657.zip
Fix dark theme not having proper card background on v21+
-rw-r--r--app/src/main/res/values/themes.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml
index 69201c3e..790d91de 100644
--- a/app/src/main/res/values/themes.xml
+++ b/app/src/main/res/values/themes.xml
@@ -126,15 +126,15 @@
<item name="drawerSubtitleStyle">@style/TextAppearance.AppCompat.Widget.ActionBar.Subtitle</item>
<item name="windowActionModeOverlay">true</item>
<item name="actionModeBackground">?attr/colorPrimary</item>
- <item name="cardBackgroundDrawable">@drawable/card_rounded_corners_black</item>
+ <item name="cardBackgroundDrawable">@drawable/card_rounded_corners_dark</item>
<item name="drawerHeaderBackground">@drawable/drawer_header_dark</item>
</style>
<style name="Theme.DSub.Light" parent="Theme.DSub.Light.Base">
</style>
<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.Base" parent="Theme.DSub.Dark.Base">
+ <item name="cardBackgroundDrawable">@drawable/card_rounded_corners_black</item>
<item name="android:windowBackground">@android:color/black</item>
</style>
<style name="Theme.DSub.Black" parent="Theme.DSub.Black.Base">
@@ -146,6 +146,7 @@
<item name="colorAccent">@color/holoAccent</item>
<item name="actionbarBackgroundColor">@color/holoPrimary</item>
<item name="drawerHeaderBackground">@drawable/drawer_header_holo</item>
+ <item name="cardBackgroundDrawable">@drawable/card_rounded_corners_black</item>
</style>
<style name="Theme.DSub.Holo" parent="Theme.DSub.Holo.Base">
</style>