summaryrefslogtreecommitdiffstats
path: root/res/drawable
diff options
context:
space:
mode:
authorKatherine Kuan <katherinekuan@google.com>2011-08-09 12:45:43 -0700
committerKatherine Kuan <katherinekuan@google.com>2011-08-09 14:09:24 -0700
commit4e49e581c88501cc9c968471c1446dbbcbd405e8 (patch)
tree7f62dcf2782dc4d7513747cb35a65506e4e9cca2 /res/drawable
parent4a855e176218fe39bf4b83585bc44c2d650c1a3c (diff)
downloadpackages_apps_Contacts-4e49e581c88501cc9c968471c1446dbbcbd405e8.tar.gz
packages_apps_Contacts-4e49e581c88501cc9c968471c1446dbbcbd405e8.tar.bz2
packages_apps_Contacts-4e49e581c88501cc9c968471c1446dbbcbd405e8.zip
New action bar tab selected assets
- Selected tab has white underline - Use different search icon for tablet Bug: 5132509 Change-Id: I9d63fd10055e33a3ad960a86e0bc420c53b3586e
Diffstat (limited to 'res/drawable')
-rw-r--r--res/drawable/action_bar_tab.xml44
1 files changed, 44 insertions, 0 deletions
diff --git a/res/drawable/action_bar_tab.xml b/res/drawable/action_bar_tab.xml
new file mode 100644
index 000000000..7676549f8
--- /dev/null
+++ b/res/drawable/action_bar_tab.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 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:state_selected="true"
+ android:drawable="@drawable/tab_selected_pressed_holo"/>
+ <item
+ android:state_focused="true"
+ android:state_selected="true"
+ android:drawable="@drawable/tab_selected_focused_holo"/>
+ <item
+ android:state_focused="true"
+ android:state_selected="false"
+ android:drawable="@drawable/tab_unselected_focused_holo"/>
+ <item
+ android:state_pressed="true"
+ android:state_selected="false"
+ android:drawable="@drawable/tab_unselected_pressed_holo"/>
+ <item
+ android:state_focused="false"
+ android:state_selected="true"
+ android:state_pressed="false"
+ android:drawable="@drawable/tab_selected_holo"/>
+ <item
+ android:state_focused="false"
+ android:state_pressed="false"
+ android:state_selected="false"
+ android:drawable="@drawable/tab_unselected_holo"/>
+</selector> \ No newline at end of file