Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: mobile/android/base/resources/drawable/tab_thumbnail.xml

Issue 29348083: Issue 3769 - UI colours gone bad (Closed)
Patch Set: Adjusting comments which indicates what has being changed by this issue in upstream code Created Oct. 25, 2016, 12:16 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
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 <!-- @color/fennec_ui_orange with alpha --> 12 <!-- Using ABB color palette. See https://issues.adblockplus.org/tic ket/3769 -->
13 <solid android:color="#B3FF9500"/> 13 <solid android:color="@color/abb_accent_dark_blue_alpha"/>
14 <corners android:radius="1dp"/> 14 <corners android:radius="1dp"/>
15 </shape> 15 </shape>
16 16
17 </item> 17 </item>
18 18
19 <item android:state_focused="true" 19 <item android:state_focused="true"
20 gecko:state_private="true"> 20 gecko:state_private="true">
21 21
22 <shape android:shape="rectangle"> 22 <shape android:shape="rectangle">
23 <!-- @color/private_browsing_purple with alpha --> 23 <!-- Using ABB color palette. See https://issues.adblockplus.org/tic ket/3769 -->
24 <solid android:color="#B3CF68FF"/> 24 <solid android:color="@color/abb_private_purple_alpha"/>
25 <corners android:radius="1dp"/> 25 <corners android:radius="1dp"/>
26 </shape> 26 </shape>
27 27
28 </item> 28 </item>
29 29
30 <item android:state_pressed="true" 30 <item android:state_pressed="true"
31 gecko:state_private="true"> 31 gecko:state_private="true">
32 32
33 <shape android:shape="rectangle"> 33 <shape android:shape="rectangle">
34 <!-- @color/private_browsing_purple with alpha --> 34 <!-- Using ABB color palette. See https://issues.adblockplus.org/tic ket/3769 -->
35 <solid android:color="#B3CF68FF"/> 35 <solid android:color="@color/abb_private_purple_alpha"/>
36 <corners android:radius="1dp"/> 36 <corners android:radius="1dp"/>
37 </shape> 37 </shape>
38 38
39 </item> 39 </item>
40 40
41 <item android:state_pressed="true"> 41 <item android:state_pressed="true">
42 42
43 <shape android:shape="rectangle"> 43 <shape android:shape="rectangle">
44 <!-- @color/fennec_ui_orange with alpha --> 44 <!-- Using ABB color palette. See https://issues.adblockplus.org/tic ket/3769 -->
45 <solid android:color="#B3FF9500"/> 45 <solid android:color="@color/abb_accent_dark_blue_alpha"/>
46 <corners android:radius="1dp"/> 46 <corners android:radius="1dp"/>
47 </shape> 47 </shape>
48 48
49 </item> 49 </item>
50 50
51 <item gecko:state_recording="true"> 51 <item gecko:state_recording="true">
52 52
53 <shape android:shape="rectangle"> 53 <shape android:shape="rectangle">
54 <solid android:color="#FFFF0000"/> 54 <solid android:color="#FFFF0000"/>
55 <corners android:radius="1dp"/> 55 <corners android:radius="1dp"/>
(...skipping 19 matching lines...) Expand all
75 android:state_checked="true" 75 android:state_checked="true"
76 gecko:state_recording="false"> 76 gecko:state_recording="false">
77 77
78 <shape android:shape="rectangle"> 78 <shape android:shape="rectangle">
79 <solid android:color="@color/fennec_ui_orange"/> 79 <solid android:color="@color/fennec_ui_orange"/>
80 <corners android:radius="1dp"/> 80 <corners android:radius="1dp"/>
81 </shape> 81 </shape>
82 82
83 </item> 83 </item>
84 84
85 <item android:drawable="@android:color/transparent"/> 85 <!-- Adding inset border to normal state in order to follow ABB style guide -->
86 <!-- See https://issues.adblockplus.org/ticket/3769 -->
87 <item>
88
89 <inset android:insetBottom="2dp" android:insetLeft="2dp" android:insetRi ght="2dp"
90 android:insetTop="2dp">
91
92 <shape android:shape="rectangle">
93 <solid android:color="@color/abb_border_grey" />
94 <corners android:radius="1dp" />
95 </shape>
96
97 </inset>
98
99 </item>
86 100
87 </selector> 101 </selector>
OLDNEW

Powered by Google App Engine
This is Rietveld