|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public |
|
3 - License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
|
5 |
|
6 <selector xmlns:android="http://schemas.android.com/apk/res/android"> |
|
7 |
|
8 <item android:state_focused="false" |
|
9 android:state_selected="false" |
|
10 android:state_pressed="false" |
|
11 android:drawable="@android:color/transparent"/> |
|
12 |
|
13 <item android:state_focused="false" |
|
14 android:state_selected="true" |
|
15 android:state_pressed="false" |
|
16 android:drawable="@drawable/tab_indicator_selected"/> |
|
17 |
|
18 <item android:state_focused="true" |
|
19 android:state_selected="false" |
|
20 android:state_pressed="false" |
|
21 android:drawable="@color/highlight_dark_focused"/> |
|
22 |
|
23 <item android:state_focused="true" |
|
24 android:state_selected="true" |
|
25 android:state_pressed="false" |
|
26 android:drawable="@drawable/tab_indicator_selected_focused"/> |
|
27 |
|
28 <item android:state_focused="false" |
|
29 android:state_selected="false" |
|
30 android:state_pressed="true" |
|
31 android:drawable="@color/highlight_dark"/> |
|
32 |
|
33 <item android:state_focused="false" |
|
34 android:state_selected="true" |
|
35 android:state_pressed="true" |
|
36 android:drawable="@color/highlight_dark"/> |
|
37 |
|
38 <item android:state_focused="true" |
|
39 android:state_selected="false" |
|
40 android:state_pressed="true" |
|
41 android:drawable="@color/highlight_dark"/> |
|
42 |
|
43 <item android:state_focused="true" |
|
44 android:state_selected="true" |
|
45 android:state_pressed="true" |
|
46 android:drawable="@color/highlight_dark"/> |
|
47 |
|
48 </selector> |