OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public | 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 | 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/. --> | 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
5 | 5 |
6 <selector xmlns:android="http://schemas.android.com/apk/res/android" | 6 <selector xmlns:android="http://schemas.android.com/apk/res/android" |
7 xmlns:gecko="http://schemas.android.com/apk/res-auto"> | 7 xmlns:gecko="http://schemas.android.com/apk/res-auto"> |
8 | 8 |
9 <item android:state_focused="true"> | 9 <item android:state_focused="true"> |
10 | 10 |
11 <shape android:shape="rectangle"> | 11 <shape android:shape="rectangle"> |
12 <solid android:color="#B3FF9500"/> | 12 <solid android:color="#B3FF9500"/> |
13 <corners android:radius="3dp"/> | 13 <corners android:radius="1dp"/> |
14 </shape> | 14 </shape> |
15 | 15 |
16 </item> | 16 </item> |
17 | 17 |
18 <item android:state_pressed="true"> | 18 <item android:state_pressed="true"> |
19 | 19 |
20 <shape android:shape="rectangle"> | 20 <shape android:shape="rectangle"> |
21 <solid android:color="#B3FF9500"/> | 21 <solid android:color="#B3FF9500"/> |
22 <corners android:radius="3dp"/> | 22 <corners android:radius="1dp"/> |
23 </shape> | 23 </shape> |
24 | 24 |
25 </item> | 25 </item> |
26 | 26 |
27 <item gecko:state_recording="true"> | 27 <item gecko:state_recording="true"> |
28 | 28 |
29 <shape android:shape="rectangle"> | 29 <shape android:shape="rectangle"> |
30 <solid android:color="#FFFF0000"/> | 30 <solid android:color="#FFFF0000"/> |
31 <corners android:radius="3dp"/> | 31 <corners android:radius="1dp"/> |
32 </shape> | 32 </shape> |
33 | 33 |
34 </item> | 34 </item> |
35 | 35 |
36 <item android:state_focused="false" | 36 <item android:state_focused="false" |
37 android:state_pressed="false" | 37 android:state_pressed="false" |
38 android:state_checked="true" | 38 android:state_checked="true" |
39 gecko:state_recording="false"> | 39 gecko:state_recording="false"> |
40 | 40 |
41 <shape android:shape="rectangle"> | 41 <shape android:shape="rectangle"> |
42 <solid android:color="@color/fennec_ui_orange"/> | 42 <solid android:color="@color/fennec_ui_orange"/> |
43 <corners android:radius="3dp"/> | 43 <corners android:radius="1dp"/> |
44 </shape> | 44 </shape> |
45 | 45 |
46 </item> | 46 </item> |
47 | 47 |
48 <item android:drawable="@android:color/transparent"/> | 48 <item android:drawable="@android:color/transparent"/> |
49 | 49 |
50 </selector> | 50 </selector> |
OLD | NEW |