summaryrefslogtreecommitdiffstats
path: root/res/drawable/btn_g.xml
diff options
context:
space:
mode:
authorRomain Guy <romainguy@android.com>2009-07-16 13:21:01 -0700
committerRomain Guy <romainguy@android.com>2009-07-16 16:06:48 -0700
commit1dd3a077a293bf3ac4e61e91dcc3dfc99487acd4 (patch)
treec9d861aa9f735392b25d402987acb312bc50b6c4 /res/drawable/btn_g.xml
parent68634c1c320bba0d9a49c2ad6ed78e244e89a57b (diff)
downloadandroid_packages_apps_Trebuchet-1dd3a077a293bf3ac4e61e91dcc3dfc99487acd4.tar.gz
android_packages_apps_Trebuchet-1dd3a077a293bf3ac4e61e91dcc3dfc99487acd4.tar.bz2
android_packages_apps_Trebuchet-1dd3a077a293bf3ac4e61e91dcc3dfc99487acd4.zip
New gestures UI.
Diffstat (limited to 'res/drawable/btn_g.xml')
-rw-r--r--res/drawable/btn_g.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/res/drawable/btn_g.xml b/res/drawable/btn_g.xml
new file mode 100644
index 000000000..d033b438f
--- /dev/null
+++ b/res/drawable/btn_g.xml
@@ -0,0 +1,26 @@
+<?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_window_focused="false" android:state_enabled="true"
+ android:drawable="@drawable/g_normal" />
+ <item android:state_pressed="true"
+ android:drawable="@drawable/g_pressed" />
+ <item android:state_focused="true" android:state_enabled="true"
+ android:drawable="@drawable/g_selected" />
+ <item android:state_enabled="true"
+ android:drawable="@drawable/g_normal" />
+</selector>