diff options
Diffstat (limited to 'res')
-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"/> |