OSDN Git Service

Revert "Remove the previewImage and staticWallpaperPreview."
authorOwen Lin <owenlin@google.com>
Tue, 14 Aug 2012 10:12:08 +0000 (18:12 +0800)
committerOwen Lin <owenlin@google.com>
Tue, 21 Aug 2012 08:55:27 +0000 (16:55 +0800)
This reverts commit 47c247e7c575d712546814b8dc4c737de93c2e61.

res/xml-v11/wallpaper_picker_preview.xml [deleted file]
res/xml-v11/widget_info.xml [deleted file]
res/xml/wallpaper_picker_preview.xml
res/xml/widget_info.xml

diff --git a/res/xml-v11/wallpaper_picker_preview.xml b/res/xml-v11/wallpaper_picker_preview.xml
deleted file mode 100644 (file)
index d1ebf67..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2012 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>
diff --git a/res/xml-v11/widget_info.xml b/res/xml-v11/widget_info.xml
deleted file mode 100644 (file)
index 2ade4f2..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2012 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.
--->
-<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
-        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"/>
index b957077..759ff6f 100644 (file)
@@ -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>
index 13c9478..4aa460f 100644 (file)
@@ -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"/>