summaryrefslogtreecommitdiffstats
path: root/res/drawable-xlarge
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2011-04-13 11:27:36 -0700
committerWinson Chung <winsonc@google.com>2011-04-14 10:13:09 -0700
commit97d85d23b013347bead4e2f5fa430a79ce69431e (patch)
tree4e72157c6814cb5c517b09ea14fd4474acb9c7c9 /res/drawable-xlarge
parent721a06bb6564a4ebe6dc6bf364cb569d255705ac (diff)
downloadandroid_packages_apps_Trebuchet-97d85d23b013347bead4e2f5fa430a79ce69431e.tar.gz
android_packages_apps_Trebuchet-97d85d23b013347bead4e2f5fa430a79ce69431e.tar.bz2
android_packages_apps_Trebuchet-97d85d23b013347bead4e2f5fa430a79ce69431e.zip
Fixing focus issues in Launcher (keyboard support).
Change-Id: Ieafd713393daf5628f229a66441bd3ed293245da
Diffstat (limited to 'res/drawable-xlarge')
-rw-r--r--res/drawable-xlarge/button_bg.xml1
-rw-r--r--res/drawable-xlarge/focusable_view_bg.xml19
2 files changed, 20 insertions, 0 deletions
diff --git a/res/drawable-xlarge/button_bg.xml b/res/drawable-xlarge/button_bg.xml
index 9e6e1ff23..2cb79268b 100644
--- a/res/drawable-xlarge/button_bg.xml
+++ b/res/drawable-xlarge/button_bg.xml
@@ -15,6 +15,7 @@
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_focused="true" android:drawable="@drawable/focused_bg" />
<item android:state_pressed="true" android:drawable="@drawable/home_press" />
<item android:drawable="@android:color/transparent" />
</selector>
diff --git a/res/drawable-xlarge/focusable_view_bg.xml b/res/drawable-xlarge/focusable_view_bg.xml
new file mode 100644
index 000000000..fb36bfc7e
--- /dev/null
+++ b/res/drawable-xlarge/focusable_view_bg.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 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/focused_bg" />
+</selector>