diff options
author | Owen Lin <owenlin@google.com> | 2012-08-13 21:08:17 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-08-13 21:08:18 -0700 |
commit | fdba983c8c51c4d0ac04a0b98cc230274578b29f (patch) | |
tree | 9af6e66f48c2ea4005344e7541685ce4300b85ab | |
parent | 51442eb3f16ff6c880b7cbb4df80063cccf7788e (diff) | |
parent | bf2bde536e70f4ef83c7d6184b0bf265823ce790 (diff) | |
download | android_packages_apps_Snap-fdba983c8c51c4d0ac04a0b98cc230274578b29f.tar.gz android_packages_apps_Snap-fdba983c8c51c4d0ac04a0b98cc230274578b29f.tar.bz2 android_packages_apps_Snap-fdba983c8c51c4d0ac04a0b98cc230274578b29f.zip |
Merge "Remove the previewImage and staticWallpaperPreview." into gb-ub-photos-arches
-rw-r--r-- | res/xml-v11/wallpaper_picker_preview.xml | 19 | ||||
-rw-r--r-- | res/xml-v11/widget_info.xml | 22 | ||||
-rw-r--r-- | res/xml/wallpaper_picker_preview.xml | 4 | ||||
-rw-r--r-- | res/xml/widget_info.xml | 1 |
4 files changed, 42 insertions, 4 deletions
diff --git a/res/xml-v11/wallpaper_picker_preview.xml b/res/xml-v11/wallpaper_picker_preview.xml new file mode 100644 index 000000000..d1ebf67ec --- /dev/null +++ b/res/xml-v11/wallpaper_picker_preview.xml @@ -0,0 +1,19 @@ +<?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 new file mode 100644 index 000000000..2ade4f27e --- /dev/null +++ b/res/xml-v11/widget_info.xml @@ -0,0 +1,22 @@ +<?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"/> diff --git a/res/xml/wallpaper_picker_preview.xml b/res/xml/wallpaper_picker_preview.xml index 759ff6fd4..b9570776c 100644 --- a/res/xml/wallpaper_picker_preview.xml +++ b/res/xml/wallpaper_picker_preview.xml @@ -14,6 +14,4 @@ limitations under the License. --> -<wallpaper-preview xmlns:android="http://schemas.android.com/apk/res/android" - android:staticWallpaperPreview="@drawable/wallpaper_picker_preview"> -</wallpaper-preview> +<wallpaper-preview xmlns:android="http://schemas.android.com/apk/res/android" /> diff --git a/res/xml/widget_info.xml b/res/xml/widget_info.xml index 4aa460f8d..13c947874 100644 --- a/res/xml/widget_info.xml +++ b/res/xml/widget_info.xml @@ -3,6 +3,5 @@ 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"/> |