summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorRomain Guy <romainguy@android.com>2009-11-11 19:06:26 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2009-11-11 19:06:26 -0800
commita98a06dc340239f350709d570037a1dd6fab04c3 (patch)
tree64f082ee18f7ad4ba573ffcb145e0b882ecefb5e /res
parentd03a28103f51baecf27656dbe905b4f94179fdd3 (diff)
parent7175d42bf55e00be33d0bffbc5a2ab40da3b74d1 (diff)
downloadandroid_packages_apps_Trebuchet-a98a06dc340239f350709d570037a1dd6fab04c3.tar.gz
android_packages_apps_Trebuchet-a98a06dc340239f350709d570037a1dd6fab04c3.tar.bz2
android_packages_apps_Trebuchet-a98a06dc340239f350709d570037a1dd6fab04c3.zip
am 7175d42b: am 01d540fd: am 9d31e9fa: Shows all screens in the previews.
Merge commit '7175d42bf55e00be33d0bffbc5a2ab40da3b74d1' * commit '7175d42bf55e00be33d0bffbc5a2ab40da3b74d1': Shows all screens in the previews.
Diffstat (limited to 'res')
-rw-r--r--res/drawable-hdpi/preview_bg.9.png (renamed from res/drawable-hdpi/preview_popup.9.png)bin4108 -> 4304 bytes
-rw-r--r--res/drawable-hdpi/preview_bg_focus.9.pngbin0 -> 4515 bytes
-rw-r--r--res/drawable-hdpi/preview_bg_press.9.pngbin0 -> 4509 bytes
-rw-r--r--res/drawable/preview_background.xml22
4 files changed, 22 insertions, 0 deletions
diff --git a/res/drawable-hdpi/preview_popup.9.png b/res/drawable-hdpi/preview_bg.9.png
index c2dd07cf6..5647144af 100644
--- a/res/drawable-hdpi/preview_popup.9.png
+++ b/res/drawable-hdpi/preview_bg.9.png
Binary files differ
diff --git a/res/drawable-hdpi/preview_bg_focus.9.png b/res/drawable-hdpi/preview_bg_focus.9.png
new file mode 100644
index 000000000..31200fdcd
--- /dev/null
+++ b/res/drawable-hdpi/preview_bg_focus.9.png
Binary files differ
diff --git a/res/drawable-hdpi/preview_bg_press.9.png b/res/drawable-hdpi/preview_bg_press.9.png
new file mode 100644
index 000000000..9cb12669e
--- /dev/null
+++ b/res/drawable-hdpi/preview_bg_press.9.png
Binary files differ
diff --git a/res/drawable/preview_background.xml b/res/drawable/preview_background.xml
new file mode 100644
index 000000000..0054aa03e
--- /dev/null
+++ b/res/drawable/preview_background.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 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_pressed="true" android:drawable="@drawable/preview_bg_press" />
+ <item android:state_focused="true" android:state_window_focused="true" android:drawable="@drawable/preview_bg_focus" />
+ <item android:state_focused="true" android:state_window_focused="false" android:drawable="@drawable/preview_bg" />
+ <item android:drawable="@drawable/preview_bg" />
+</selector>