summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorOwen Lin <owenlin@google.com>2012-08-14 18:12:08 +0800
committerOwen Lin <owenlin@google.com>2012-08-21 16:55:27 +0800
commit00da1f719370d6d7b1776678b281938e94973daa (patch)
treee80464f2dab32a7eebf8b50365b1b43118aabbe5 /res/xml
parent67e633e2def63232ea71f462896388592e4119ea (diff)
downloadandroid_packages_apps_Snap-00da1f719370d6d7b1776678b281938e94973daa.tar.gz
android_packages_apps_Snap-00da1f719370d6d7b1776678b281938e94973daa.tar.bz2
android_packages_apps_Snap-00da1f719370d6d7b1776678b281938e94973daa.zip
Revert "Remove the previewImage and staticWallpaperPreview."
This reverts commit 47c247e7c575d712546814b8dc4c737de93c2e61.
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/wallpaper_picker_preview.xml4
-rw-r--r--res/xml/widget_info.xml1
2 files changed, 4 insertions, 1 deletions
diff --git a/res/xml/wallpaper_picker_preview.xml b/res/xml/wallpaper_picker_preview.xml
index b9570776c..759ff6fd4 100644
--- a/res/xml/wallpaper_picker_preview.xml
+++ b/res/xml/wallpaper_picker_preview.xml
@@ -14,4 +14,6 @@
limitations under the License.
-->
-<wallpaper-preview xmlns:android="http://schemas.android.com/apk/res/android" />
+<wallpaper-preview xmlns:android="http://schemas.android.com/apk/res/android"
+ android:staticWallpaperPreview="@drawable/wallpaper_picker_preview">
+</wallpaper-preview>
diff --git a/res/xml/widget_info.xml b/res/xml/widget_info.xml
index 13c947874..4aa460f8d 100644
--- a/res/xml/widget_info.xml
+++ b/res/xml/widget_info.xml
@@ -3,5 +3,6 @@
android:minWidth="@dimen/appwidget_width"
android:minHeight="@dimen/appwidget_height"
android:updatePeriodMillis="86400000"
+ android:previewImage="@drawable/preview"
android:initialLayout="@layout/appwidget_main"
android:configure="com.android.gallery3d.gadget.WidgetConfigure"/>