Bug 1105541 - Part 1: Use a light text color for tab titles with a dark LWT on new tablet. r=mhaigh, a=sledru
authorMichael Comella <michael.l.comella@gmail.com>
Fri, 12 Dec 2014 14:03:21 -0800
changeset 242452 52dfbfd086d08c8fa3fb774403ae4f8897b7821c
parent 242451 6c8a4759fb1065f2a11babd63ac7ed0ff6306fa5
child 242453 cd9788ebebcca115ca17e2d6cf1ff996d9b8b8c6
push id4311
push userraliiev@mozilla.com
push dateMon, 12 Jan 2015 19:37:41 +0000
treeherdermozilla-beta@150c9fed433b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmhaigh, sledru
bugs1105541
milestone36.0a2
Bug 1105541 - Part 1: Use a light text color for tab titles with a dark LWT on new tablet. r=mhaigh, a=sledru
mobile/android/base/newtablet/res/color-large-v11/new_tablet_tab_strip_item_title.xml
--- a/mobile/android/base/newtablet/res/color-large-v11/new_tablet_tab_strip_item_title.xml
+++ b/mobile/android/base/newtablet/res/color-large-v11/new_tablet_tab_strip_item_title.xml
@@ -2,13 +2,17 @@
 <selector xmlns:android="http://schemas.android.com/apk/res/android"
 	      xmlns:gecko="http://schemas.android.com/apk/res-auto">
 
     <item android:state_checked="true"
           gecko:state_private="true"
           android:color="@color/text_color_primary_inverse"/>
 
     <item android:state_checked="true"
-        android:color="@color/text_color_secondary"/>
+          android:color="@color/text_color_secondary"/>
+
+    <item android:state_checked="false"
+          gecko:state_dark="true"
+          android:color="@color/text_color_primary_inverse"/>
 
     <item android:color="@color/text_color_secondary"/>
 
 </selector>