diff options
author | Owen Lin <owenlin@google.com> | 2012-08-13 15:34:59 +0800 |
---|---|---|
committer | Owen Lin <owenlin@google.com> | 2012-08-14 12:01:29 +0800 |
commit | 47c247e7c575d712546814b8dc4c737de93c2e61 (patch) | |
tree | dcd0be0b1881448051a8a135630de46ac97493ee | |
parent | bc8808a30e524e943b28b484d974b52769694e37 (diff) | |
download | android_packages_apps_Gallery2-47c247e7c575d712546814b8dc4c737de93c2e61.tar.gz android_packages_apps_Gallery2-47c247e7c575d712546814b8dc4c737de93c2e61.tar.bz2 android_packages_apps_Gallery2-47c247e7c575d712546814b8dc4c737de93c2e61.zip |
Remove the previewImage and staticWallpaperPreview.
Change-Id: I804ea494efdcca5fa70944f29e92c5f022f622c1
fix: 6974862
-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"/> |