summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Cohen <adamcohen@google.com>2011-01-18 15:13:26 -0800
committerAdam Cohen <adamcohen@google.com>2011-01-18 20:29:29 -0800
commitce30aac8f953f269521de3d1006c33cd4ca6014a (patch)
tree0b3048f3f9ed5d6e3c6d066a0259408c1d5bf97f
parentf2e2b1abbd527d62feaa8d3966a97d4f657d1532 (diff)
downloadandroid_packages_wallpapers_LivePicker-ce30aac8f953f269521de3d1006c33cd4ca6014a.tar.gz
android_packages_wallpapers_LivePicker-ce30aac8f953f269521de3d1006c33cd4ca6014a.tar.bz2
android_packages_wallpapers_LivePicker-ce30aac8f953f269521de3d1006c33cd4ca6014a.zip
Adding wallpaper picker preview
Change-Id: I4e926775241494ce423513f3e4f68e38f92a7823
-rw-r--r--AndroidManifest.xml2
-rw-r--r--res/drawable/wallpaper_picker_preview.pngbin0 -> 107028 bytes
-rw-r--r--res/xml/wallpaper_picker_preview.xml20
3 files changed, 22 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 5688e7f..b6947dc 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -41,6 +41,8 @@
<action android:name="android.intent.action.SET_WALLPAPER" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
+ <meta-data android:name="android.wallpaper.preview"
+ android:resource="@xml/wallpaper_picker_preview" />
</activity>
<activity android:name="LiveWallpaperPreview"
diff --git a/res/drawable/wallpaper_picker_preview.png b/res/drawable/wallpaper_picker_preview.png
new file mode 100644
index 0000000..e411bef
--- /dev/null
+++ b/res/drawable/wallpaper_picker_preview.png
Binary files differ
diff --git a/res/xml/wallpaper_picker_preview.xml b/res/xml/wallpaper_picker_preview.xml
new file mode 100644
index 0000000..d52e0e0
--- /dev/null
+++ b/res/xml/wallpaper_picker_preview.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<wallpaper-preview
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:staticWallpaperPreview="@drawable/wallpaper_picker_preview">
+</wallpaper-preview> \ No newline at end of file