summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Sapperstein <asapperstein@google.com>2014-09-17 18:12:14 -0700
committerAndrew Sapperstein <asapperstein@google.com>2014-09-17 18:12:14 -0700
commit3ef481f3c90d5cab1871fdd1168c37e96adc345f (patch)
tree891c0a3c6f227382b88b0d514ceb4b68541c0b23
parent503256b6e02ec0ea5fb068e4948b20aa34fdeb8a (diff)
downloadandroid_frameworks_opt_photoviewer-3ef481f3c90d5cab1871fdd1168c37e96adc345f.tar.gz
android_frameworks_opt_photoviewer-3ef481f3c90d5cab1871fdd1168c37e96adc345f.tar.bz2
android_frameworks_opt_photoviewer-3ef481f3c90d5cab1871fdd1168c37e96adc345f.zip
Update themes to set status bar and nav colors.
Change-Id: I244eb99ced4c5c36db9e8b9c7a196415f8c040f8
-rw-r--r--activity/res/values/themes.xml2
-rw-r--r--appcompat/res/values/themes.xml2
-rw-r--r--res/values/colors.xml1
3 files changed, 5 insertions, 0 deletions
diff --git a/activity/res/values/themes.xml b/activity/res/values/themes.xml
index 04bec53..71bea15 100644
--- a/activity/res/values/themes.xml
+++ b/activity/res/values/themes.xml
@@ -18,6 +18,8 @@
<resources>
<style name="PhotoViewTheme" parent="android:Theme.Holo">
+ <item name="android:colorPrimaryDark">@color/photo_status_bar_black</item>
+ <item name="android:navigationBarColor">@color/photo_status_bar_black</item>
<item name="android:windowNoTitle">false</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowActionBarOverlay">true</item>
diff --git a/appcompat/res/values/themes.xml b/appcompat/res/values/themes.xml
index 2a61128..3b6fc68 100644
--- a/appcompat/res/values/themes.xml
+++ b/appcompat/res/values/themes.xml
@@ -19,6 +19,8 @@
<resources>
<style name="PhotoViewTheme" parent="Theme.AppCompat">
<item name="actionBarStyle">@style/AppCompat.ActionBar</item>
+ <item name="colorPrimaryDark">@color/photo_status_bar_black</item>
+ <item name="android:navigationBarColor">@color/photo_status_bar_black</item>
<item name="windowActionBarOverlay">true</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowBackground">@color/solid_black</item>
diff --git a/res/values/colors.xml b/res/values/colors.xml
index cd2a14b..50ef5de 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -18,6 +18,7 @@
<resources>
<!-- Photo Viewer Colors -->
<color name="solid_black">#ff000000</color>
+ <color name="photo_status_bar_black">#d9000000</color>
<color name="photo_crop_dim_color">#cc000000</color>
<color name="photo_crop_highlight_color">#fff</color>
</resources>