summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2015-06-23 14:28:29 -0700
committerSunny Goyal <sunnygoyal@google.com>2015-06-23 14:28:58 -0700
commit5d9200f92141f157fe6ae30106ee4b644d5ebd7e (patch)
tree0680b34a3e154dfb16a9acfb7d50cb033f40bba3
parente5106b687f6978bb8bb11ec90d7e8924a1b9e795 (diff)
downloadandroid_packages_apps_Trebuchet-5d9200f92141f157fe6ae30106ee4b644d5ebd7e.tar.gz
android_packages_apps_Trebuchet-5d9200f92141f157fe6ae30106ee4b644d5ebd7e.tar.bz2
android_packages_apps_Trebuchet-5d9200f92141f157fe6ae30106ee4b644d5ebd7e.zip
Using a full-bleed background for Set-Wallpaper button
Bug: 22007160 Change-Id: I06c4ffe5b5fa4f2c18c06a6e1bf014b328de00fd
-rw-r--r--WallpaperPicker/res/values-v21/styles.xml5
-rw-r--r--WallpaperPicker/res/values/styles.xml3
2 files changed, 7 insertions, 1 deletions
diff --git a/WallpaperPicker/res/values-v21/styles.xml b/WallpaperPicker/res/values-v21/styles.xml
index 04f39de73..582ab8fed 100644
--- a/WallpaperPicker/res/values-v21/styles.xml
+++ b/WallpaperPicker/res/values-v21/styles.xml
@@ -28,4 +28,9 @@
<item name="android:contentInsetStart">0dp</item>
</style>
+ <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
diff --git a/WallpaperPicker/res/values/styles.xml b/WallpaperPicker/res/values/styles.xml
index f4008f159..74aeab903 100644
--- a/WallpaperPicker/res/values/styles.xml
+++ b/WallpaperPicker/res/values/styles.xml
@@ -17,7 +17,7 @@
*/
-->
-<resources>
+<resources xmlns:android="http://schemas.android.com/apk/res/android">
<style name="Theme.WallpaperCropper" parent="@android:style/Theme.DeviceDefault">
<item name="android:actionBarStyle">@style/WallpaperCropperActionBar</item>
<item name="android:windowFullscreen">true</item>
@@ -40,5 +40,6 @@
<style name="ActionBarSetWallpaperStyle" parent="@android:style/Widget.DeviceDefault.ActionButton">
<item name="android:textColor">#ffffffff</item>
+ <item name="android:background">?android:attr/selectableItemBackground</item>
</style>
</resources>