diff options
-rw-r--r-- | AndroidManifest.xml | 2 | ||||
-rw-r--r-- | res/drawable/wallpaper_gallery_item.xml | 22 | ||||
-rw-r--r-- | res/values/extra_wallpapers.xml | 21 |
3 files changed, 43 insertions, 2 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 6965fc6cb..a78e31313 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -123,8 +123,6 @@ <action android:name="android.intent.action.SET_WALLPAPER" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> - <meta-data android:name="android.wallpaper.preview" - android:resource="@xml/wallpaper_picker_preview" /> </activity> diff --git a/res/drawable/wallpaper_gallery_item.xml b/res/drawable/wallpaper_gallery_item.xml new file mode 100644 index 000000000..b7052bd39 --- /dev/null +++ b/res/drawable/wallpaper_gallery_item.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2011 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. +--> + +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:state_focused="true" android:drawable="@drawable/grid_focused" /> + <item android:state_pressed="true" android:drawable="@drawable/grid_pressed" /> + <item android:state_selected="true" android:drawable="@drawable/grid_selected" /> + <item android:drawable="@android:color/transparent" /> +</selector> diff --git a/res/values/extra_wallpapers.xml b/res/values/extra_wallpapers.xml new file mode 100644 index 000000000..9e0951cfa --- /dev/null +++ b/res/values/extra_wallpapers.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + * Copyright (C) 2009 Google Inc. + * + * 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. + --> + +<resources> + <string-array name="extra_wallpapers"> + </string-array> +</resources> |