summaryrefslogtreecommitdiff
path: root/main/src/ui/res/drawable/slidingtab_background.xml
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/ui/res/drawable/slidingtab_background.xml')
-rw-r--r--main/src/ui/res/drawable/slidingtab_background.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/src/ui/res/drawable/slidingtab_background.xml b/main/src/ui/res/drawable/slidingtab_background.xml
new file mode 100644
index 00000000..e923489e
--- /dev/null
+++ b/main/src/ui/res/drawable/slidingtab_background.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (c) 2012-2016 Arne Schwabe
+ ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
+ -->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android" android:exitFadeDuration="@android:integer/config_shortAnimTime">
+
+ <item android:state_pressed="true" android:drawable="@color/background_tab_pressed" />
+ <item android:state_focused="true" android:drawable="@color/background_tab_pressed"/>
+ <item android:drawable="@android:color/transparent"/>
+
+</selector> \ No newline at end of file