aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2014-08-22 14:18:39 -0500
committerArne Schwabe <arne@rfc2549.org>2014-08-22 14:19:23 -0500
commitb324c1b581c187da92605cf5aa714aec95bfd147 (patch)
tree14083009587f1f24acb7f8e48931df2cb3c27d6b
parent789b3f12542df112a93f230da47c07cbb286db2f (diff)
downloadcgeo-b324c1b581c187da92605cf5aa714aec95bfd147.zip
cgeo-b324c1b581c187da92605cf5aa714aec95bfd147.tar.gz
cgeo-b324c1b581c187da92605cf5aa714aec95bfd147.tar.bz2
Fix #4200: Move KitKat specific styles to values-v19/themes.xml
-rw-r--r--main/res/values-v19/themes.xml9
-rw-r--r--main/res/values/themes.xml9
2 files changed, 12 insertions, 6 deletions
diff --git a/main/res/values-v19/themes.xml b/main/res/values-v19/themes.xml
new file mode 100644
index 0000000..e43fb73
--- /dev/null
+++ b/main/res/values-v19/themes.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources xmlns:tools="http://schemas.android.com/tools">
+ <style name="cgeo_main" parent="cgeo_main.base">
+
+ <!-- KitKat's transperent navigation -->
+ <item name="android:fitsSystemWindows">true</item>
+ <item name="android:windowTranslucentNavigation">true</item>
+ </style>
+</resources> \ No newline at end of file
diff --git a/main/res/values/themes.xml b/main/res/values/themes.xml
index 749cd48..ed478e2 100644
--- a/main/res/values/themes.xml
+++ b/main/res/values/themes.xml
@@ -17,16 +17,13 @@
<!-- system elements -->
<item name="android:windowContentOverlay">@null</item>
<item name="actionBarStyle">@style/cgeo_main.ActionBarStyle</item>
+ <item name="android:actionBarStyle" tools:ignore="NewApi">@style/cgeo_main.ActionBarStyle</item>
- <!-- KitKat's transperent navigation -->
- <item name="android:fitsSystemWindows">true</item>
- <item name="android:windowTranslucentNavigation" tools:ignore="NewApi">true</item>
- </style>
+ </style>
<style name="cgeo_main" parent="cgeo_main.base">
- <item name="actionBarStyle">@style/cgeo_main.ActionBarStyle</item>
- <item name="android:actionBarStyle" tools:ignore="NewApi">@style/cgeo_main.ActionBarStyle</item>
+ <!-- gets modified in v19 to add translucent window decoration -->
</style>
<style name="cgeo.Widget.AppCompat.Base.ProgressBar.Medium" parent="android:Widget.ProgressBar">