summaryrefslogtreecommitdiffstats
path: root/WallpaperPicker
diff options
context:
space:
mode:
authorhuiwan <huiwan@codeaurora.org>2014-09-02 17:15:31 +0800
committerGerrit Code Review <gerrit@cyanogenmod.org>2015-01-13 08:50:06 +0000
commitd762349337161b4ecda6465f43fe841d3e4ece48 (patch)
tree83e8147921c462384dcd81cbce616f1a02d8fa98 /WallpaperPicker
parent3037abb7396dd8dbabd2cc95fc096f26825e9ab1 (diff)
downloadandroid_packages_apps_Trebuchet-d762349337161b4ecda6465f43fe841d3e4ece48.tar.gz
android_packages_apps_Trebuchet-d762349337161b4ecda6465f43fe841d3e4ece48.tar.bz2
android_packages_apps_Trebuchet-d762349337161b4ecda6465f43fe841d3e4ece48.zip
Add default wallpaper to launcher
- Add resource to wallpapers.xml to specify a default wallpaper in wallpaper picker. Change-Id: Ie8dd73de8f23a8963ab9b4f97a4bdcfc657d864b
Diffstat (limited to 'WallpaperPicker')
-rw-r--r--WallpaperPicker/res/values-nodpi/wallpapers.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/WallpaperPicker/res/values-nodpi/wallpapers.xml b/WallpaperPicker/res/values-nodpi/wallpapers.xml
index 1e340e4b2..e176936eb 100644
--- a/WallpaperPicker/res/values-nodpi/wallpapers.xml
+++ b/WallpaperPicker/res/values-nodpi/wallpapers.xml
@@ -17,5 +17,13 @@
<resources>
<string-array name="wallpapers" translatable="false">
+ <!-- This special drawable references the platform's private
+ default_wallpaper resource so the user can always choose it. -->
+ <item>default_wallpaper</item>
+
+ <!-- If you want additional bitmap drawable resources to appear in the
+ wallpaper picker, add them to this list. For each foo.jpg be sure
+ to include a foo_small.jpg to be used as a thumbnail in the
+ scrolling gallery widget. -->
</string-array>
</resources>