aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/drawable/actionbar_tab_indicator.xml
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2014-11-01 13:51:05 +0100
committerDaniel Gultsch <daniel@gultsch.de>2014-11-01 13:51:05 +0100
commita0f694ea44b9d68390846b48d720f9a37fd679b8 (patch)
tree38ee04006e38197fd8009697b8975007ec0f45c8 /src/main/res/drawable/actionbar_tab_indicator.xml
parent142384e5805d93887d185c9a5b74d4850e4ec719 (diff)
parent46f147a82c6b161e071f717c7686f8b78a20aaf1 (diff)
Merge pull request #600 from SamWhited/gradle
Build system and library changes (Gradle / Subtree merging)
Diffstat (limited to 'src/main/res/drawable/actionbar_tab_indicator.xml')
-rw-r--r--src/main/res/drawable/actionbar_tab_indicator.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/main/res/drawable/actionbar_tab_indicator.xml b/src/main/res/drawable/actionbar_tab_indicator.xml
new file mode 100644
index 00000000..5598ee42
--- /dev/null
+++ b/src/main/res/drawable/actionbar_tab_indicator.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <!-- Non focused states -->
+ <item android:drawable="@android:color/transparent" android:state_focused="false" android:state_pressed="false" android:state_selected="false"/>
+ <item android:drawable="@drawable/tab_selected_conversations" android:state_focused="false" android:state_pressed="false" android:state_selected="true"/>
+
+ <!-- Focused states -->
+ <item android:drawable="@drawable/tab_unselected_focused_conversations" android:state_focused="true" android:state_pressed="false" android:state_selected="false"/>
+ <item android:drawable="@drawable/tab_selected_focused_conversations" android:state_focused="true" android:state_pressed="false" android:state_selected="true"/>
+
+ <!-- Pressed -->
+ <!-- Non focused states -->
+ <item android:drawable="@drawable/tab_unselected_pressed_conversations" android:state_focused="false" android:state_pressed="true" android:state_selected="false"/>
+ <item android:drawable="@drawable/tab_selected_pressed_conversations" android:state_focused="false" android:state_pressed="true" android:state_selected="true"/>
+
+ <!-- Focused states -->
+ <item android:drawable="@drawable/tab_unselected_pressed_conversations" android:state_focused="true" android:state_pressed="true" android:state_selected="false"/>
+ <item android:drawable="@drawable/tab_selected_pressed_conversations" android:state_focused="true" android:state_pressed="true" android:state_selected="true"/>
+
+</selector> \ No newline at end of file