summaryrefslogtreecommitdiffstats
path: root/res/drawable
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2011-09-14 17:56:27 -0700
committerWinson Chung <winsonc@google.com>2011-09-15 13:38:54 -0700
commitc3665faf4525de78c64e1a98106e12f1c23810c9 (patch)
treee3c12267dacc91ec4ce0858a06a1f95b82817ce9 /res/drawable
parent286f2e1da9f8638b914e0ca1659f36369ee6b501 (diff)
downloadandroid_packages_apps_Trebuchet-c3665faf4525de78c64e1a98106e12f1c23810c9.tar.gz
android_packages_apps_Trebuchet-c3665faf4525de78c64e1a98106e12f1c23810c9.tar.bz2
android_packages_apps_Trebuchet-c3665faf4525de78c64e1a98106e12f1c23810c9.zip
DO NOT MERGE: Fixing regression where scroll position would be offset when rotated.
- Fixes the scrolling issue only in conjunction with framework measure fix - Updating the wallpaper gallery item background Change-Id: I156de59a3eadfdaa61018c0a74ad0614d76cde6d
Diffstat (limited to 'res/drawable')
-rw-r--r--res/drawable/wallpaper_gallery_item.xml22
1 files changed, 22 insertions, 0 deletions
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>