aboutsummaryrefslogtreecommitdiffstats
path: root/res/drawable/actionbar_tab_indicator.xml
diff options
context:
space:
mode:
authorkruks23 <scardenas@openmailbox.org>2014-07-10 15:13:31 +0200
committerkruks23 <scardenas@openmailbox.org>2014-07-10 15:13:31 +0200
commit8379f695166ee9888e6e1221894c7d1494669a6d (patch)
treeb43c4b4fe72916df1dd547ab706ffae34cdcd243 /res/drawable/actionbar_tab_indicator.xml
parentc7088489bd339e4b8b5128e909a1b4377864a5c9 (diff)
parente97b5244552c8da06b3311bccb831be30c9a641a (diff)
Merge branch 'development' of https://github.com/siacs/Conversations into development
Diffstat (limited to 'res/drawable/actionbar_tab_indicator.xml')
-rw-r--r--res/drawable/actionbar_tab_indicator.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/res/drawable/actionbar_tab_indicator.xml b/res/drawable/actionbar_tab_indicator.xml
new file mode 100644
index 00000000..102b75d8
--- /dev/null
+++ b/res/drawable/actionbar_tab_indicator.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <!-- Non focused states -->
+ <item android:state_focused="false" android:state_selected="false" android:state_pressed="false" android:drawable="@android:color/transparent" />
+ <item android:state_focused="false" android:state_selected="true" android:state_pressed="false" android:drawable="@drawable/tab_selected_conversations" />
+
+ <!-- Focused states -->
+ <item android:state_focused="true" android:state_selected="false" android:state_pressed="false" android:drawable="@drawable/tab_unselected_focused_conversations" />
+ <item android:state_focused="true" android:state_selected="true" android:state_pressed="false" android:drawable="@drawable/tab_selected_focused_conversations" />
+
+ <!-- Pressed -->
+ <!-- Non focused states -->
+ <item android:state_focused="false" android:state_selected="false" android:state_pressed="true" android:drawable="@drawable/tab_unselected_pressed_conversations" />
+ <item android:state_focused="false" android:state_selected="true" android:state_pressed="true" android:drawable="@drawable/tab_selected_pressed_conversations" />
+
+ <!-- Focused states -->
+ <item android:state_focused="true" android:state_selected="false" android:state_pressed="true" android:drawable="@drawable/tab_unselected_pressed_conversations" />
+ <item android:state_focused="true" android:state_selected="true" android:state_pressed="true" android:drawable="@drawable/tab_selected_pressed_conversations" />
+ </selector> \ No newline at end of file