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 <!-- Using ABB color palette. See https://issues.adblockplus.org/ticket/3769
--> |
9 <!-- private pressed state --> | 10 <!-- private pressed state --> |
10 <item gecko:state_private="true" | 11 <item gecko:state_private="true" |
11 android:state_pressed="true" | 12 android:state_pressed="true" |
12 android:drawable="@color/text_and_tabs_tray_grey"/> | 13 android:drawable="@color/abb_background_light_grey"/> |
13 | 14 |
14 <!-- focused state --> | 15 <!-- focused state --> |
15 <item gecko:state_private="true" | 16 <item gecko:state_private="true" |
16 android:state_focused="true" | 17 android:state_focused="true" |
17 android:state_pressed="false" | 18 android:state_pressed="false" |
18 android:drawable="@color/placeholder_active_grey"/> | 19 android:drawable="@color/placeholder_active_grey"/> |
19 | 20 |
20 <!-- pressed state --> | 21 <!-- pressed state --> |
21 <item android:state_pressed="true" | 22 <item android:state_pressed="true" |
22 android:drawable="@color/toolbar_grey_pressed"/> | 23 android:drawable="@color/toolbar_grey_pressed"/> |
23 | 24 |
24 <!-- focused state --> | 25 <!-- focused state --> |
25 <item android:state_focused="true" | 26 <item android:state_focused="true" |
26 android:state_pressed="false" | 27 android:state_pressed="false" |
27 android:drawable="@color/tablet_highlight_focused"/> | 28 android:drawable="@color/tablet_highlight_focused"/> |
28 | 29 |
29 <!-- private browsing mode --> | 30 <!-- private browsing mode --> |
30 <item gecko:state_private="true" | 31 <item gecko:state_private="true" |
31 android:drawable="@color/tabs_tray_grey_pressed"/> | 32 android:drawable="@color/tabs_tray_grey_pressed"/> |
32 | 33 |
33 <!-- normal mode --> | 34 <!-- normal mode --> |
34 <item android:drawable="@color/toolbar_grey"/> | 35 <item android:drawable="@color/toolbar_grey"/> |
35 | 36 |
36 </selector> | 37 </selector> |
OLD | NEW |