summaryrefslogtreecommitdiffstats
path: root/res/drawable
diff options
context:
space:
mode:
authorRomain Guy <romainguy@android.com>2009-11-11 18:54:28 -0800
committerRomain Guy <romainguy@android.com>2009-11-11 18:56:51 -0800
commit9d31e9fa3dedf7c51b407c1c5fafe5294fc3c01b (patch)
tree3a8c80009a09f9fbddc983af5e361111b508455c /res/drawable
parentfab744014aa7eb5651a2c46a13c2a0df5d2f603e (diff)
downloadandroid_packages_apps_Trebuchet-9d31e9fa3dedf7c51b407c1c5fafe5294fc3c01b.tar.gz
android_packages_apps_Trebuchet-9d31e9fa3dedf7c51b407c1c5fafe5294fc3c01b.tar.bz2
android_packages_apps_Trebuchet-9d31e9fa3dedf7c51b407c1c5fafe5294fc3c01b.zip
Shows all screens in the previews.
Change-Id: Ib8b19492ccb07a135ba95ab75ae03f034275c572
Diffstat (limited to 'res/drawable')
-rw-r--r--res/drawable/preview_background.xml22
1 files changed, 22 insertions, 0 deletions
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>