summaryrefslogtreecommitdiffstats
path: root/res/values/styles.xml
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2015-08-28 17:43:21 -0700
committerSunny Goyal <sunnygoyal@google.com>2015-08-28 17:56:49 -0700
commit6670d16341f2311925765511c54afab196a0d2bd (patch)
tree6b163d6744129faae3ff6b1a58ca4adfeb2bc969 /res/values/styles.xml
parent82b6117c08cd386116cf02ec49ee8aa6fa246941 (diff)
downloadandroid_packages_wallpapers_LivePicker-6670d16341f2311925765511c54afab196a0d2bd.tar.gz
android_packages_wallpapers_LivePicker-6670d16341f2311925765511c54afab196a0d2bd.tar.bz2
android_packages_wallpapers_LivePicker-6670d16341f2311925765511c54afab196a0d2bd.zip
Moving the set wallpaper button to the top to match the default launcher style
Using a cog image instead of the Settings... button Change-Id: Ia106ff1bd978ab67fd8405e2cd66cf701d29e7a4
Diffstat (limited to 'res/values/styles.xml')
-rw-r--r--res/values/styles.xml31
1 files changed, 25 insertions, 6 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 8684f16..b908235 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -18,6 +18,7 @@
-->
<resources>
+
<style name="WallpaperTitle">
<item name="android:textSize">20dip</item>
<item name="android:shadowColor">#FF000000</item>
@@ -27,15 +28,33 @@
<item name="android:textColor">#FFFFFFFF</item>
<item name="android:gravity">left</item>
</style>
-
- <style name="Preview" parent="android:Theme.Holo">
+
+ <style name="LivePickerTheme" parent="android:style/Theme.Holo">
<item name="android:windowNoTitle">true</item>
+ </style>
+
+ <style name="Preview" parent="@android:style/Theme.DeviceDefault">
+ <item name="android:actionBarStyle">@style/PreviewActionBar</item>
+ <item name="android:windowAnimationStyle">@android:style/Animation.Activity</item>
+ <item name="android:windowFullscreen">true</item>
+ <item name="android:windowActionBarOverlay">true</item>
+ <item name="android:windowTranslucentNavigation">true</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:colorBackgroundCacheHint">@null</item>
- <item name="android:windowAnimationStyle">@android:style/Animation.Activity</item>
</style>
- <style name="LivePickerTheme" parent="android:style/Theme.Holo">
- <item name="android:windowNoTitle">true</item>
+ <style name="PreviewActionBar" parent="@android:style/Widget.DeviceDefault.ActionBar">
+ <item name="android:displayOptions">showCustom</item>
+ <item name="android:background">#88000000</item>
+ <item name="android:contentInsetEnd">0dp</item>
+ <item name="android:contentInsetLeft">0dp</item>
+ <item name="android:contentInsetRight">0dp</item>
+ <item name="android:contentInsetStart">0dp</item>
</style>
-</resources>
+
+ <style name="ActionBarSetWallpaperStyle" parent="@android:style/Widget.DeviceDefault.ActionButton">
+ <item name="android:textColor">#ffffffff</item>
+ <item name="android:background">?android:attr/selectableItemBackgroundBorderless</item>
+ </style>
+
+</resources> \ No newline at end of file