summaryrefslogtreecommitdiffstats
path: root/res/drawable/textfield_searchwidget.xml
diff options
context:
space:
mode:
authorKarl Rosaen <>2009-04-29 13:43:27 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-04-29 13:43:27 -0700
commitdf3e5971c1200960243ed96bff5fca85faa634af (patch)
tree9f1bcf38beb5e4dff1351db237c00a305ad676a4 /res/drawable/textfield_searchwidget.xml
parent74a15c0db0445d1df7b82ee46c65e260dd72dee8 (diff)
parent71b0594a6fc7339281add91d2ac61b181f89a2af (diff)
downloadandroid_packages_apps_Trebuchet-df3e5971c1200960243ed96bff5fca85faa634af.tar.gz
android_packages_apps_Trebuchet-df3e5971c1200960243ed96bff5fca85faa634af.tar.bz2
android_packages_apps_Trebuchet-df3e5971c1200960243ed96bff5fca85faa634af.zip
am 71b0594: Merge branch \'readonly-p4-donut\' into donut
Merge commit '71b0594a6fc7339281add91d2ac61b181f89a2af' * commit '71b0594a6fc7339281add91d2ac61b181f89a2af': AI 147564: Merge back from search branch to donut. Notes:
Diffstat (limited to 'res/drawable/textfield_searchwidget.xml')
-rw-r--r--res/drawable/textfield_searchwidget.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/res/drawable/textfield_searchwidget.xml b/res/drawable/textfield_searchwidget.xml
new file mode 100644
index 000000000..80f3dca34
--- /dev/null
+++ b/res/drawable/textfield_searchwidget.xml
@@ -0,0 +1,31 @@
+<?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/textfield_searchwidget_default" />
+
+ <item android:state_pressed="true"
+ android:drawable="@drawable/textfield_searchwidget_pressed" />
+
+ <item android:state_enabled="true" android:state_focused="true"
+ android:drawable="@drawable/textfield_searchwidget_selected" />
+
+ <item android:state_enabled="true"
+ android:drawable="@drawable/textfield_searchwidget_default" />
+
+</selector>