Bug 1177611 - Update tabs tray pressed pb color. r=mhaigh a=sylvestre
authorMichael Comella <michael.l.comella@gmail.com>
Tue, 28 Jul 2015 16:49:42 -0700
changeset 288843 f7520ca1b034ca461a495bdb710af6581e8f0609
parent 288842 70da6494624c0198b50517df146649d3944467c4
child 288844 15c6bb58116672c2673038c050dcf3413b094148
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmhaigh, sylvestre
bugs1177611
milestone42.0a2
Bug 1177611 - Update tabs tray pressed pb color. r=mhaigh a=sylvestre
mobile/android/base/resources/drawable/tab_thumbnail.xml
--- a/mobile/android/base/resources/drawable/tab_thumbnail.xml
+++ b/mobile/android/base/resources/drawable/tab_thumbnail.xml
@@ -4,25 +4,49 @@
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 
 <selector xmlns:android="http://schemas.android.com/apk/res/android"
           xmlns:gecko="http://schemas.android.com/apk/res-auto">
 
     <item android:state_focused="true">
 
         <shape android:shape="rectangle">
+            <!-- @color/fennec_ui_orange with alpha -->
             <solid android:color="#B3FF9500"/>
             <corners android:radius="3dp"/>            
         </shape>
 
     </item>
 
+    <item android:state_focused="true"
+          gecko:state_private="true">
+
+        <shape android:shape="rectangle">
+            <!-- @color/private_browsing_purple with alpha -->
+            <solid android:color="#B3CF68FF"/>
+            <corners android:radius="3dp"/>
+        </shape>
+
+    </item>
+
+    <item android:state_pressed="true"
+          gecko:state_private="true">
+
+        <shape android:shape="rectangle">
+            <!-- @color/private_browsing_purple with alpha -->
+            <solid android:color="#B3CF68FF"/>
+            <corners android:radius="3dp"/>
+        </shape>
+
+    </item>
+
     <item android:state_pressed="true">
 
         <shape android:shape="rectangle">
+            <!-- @color/fennec_ui_orange with alpha -->
             <solid android:color="#B3FF9500"/>
             <corners android:radius="3dp"/>
         </shape>
 
     </item>
 
     <item gecko:state_recording="true">