aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2014-08-23 14:55:21 +0200
committerBananeweizen <bananeweizen@gmx.de>2014-08-23 14:55:21 +0200
commit5ac0dd7539c81807f568225c21a30d6e81de8635 (patch)
tree14083009587f1f24acb7f8e48931df2cb3c27d6b
parent789b3f12542df112a93f230da47c07cbb286db2f (diff)
parentb324c1b581c187da92605cf5aa714aec95bfd147 (diff)
downloadcgeo-5ac0dd7539c81807f568225c21a30d6e81de8635.zip
cgeo-5ac0dd7539c81807f568225c21a30d6e81de8635.tar.gz
cgeo-5ac0dd7539c81807f568225c21a30d6e81de8635.tar.bz2
Merge pull request #4202 from schwabe/fix_4200
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">