Bug 1179479 - Set tablet private browsing hit area to spec. r=mhaigh, a=sledru
authorMichael Comella <michael.l.comella@gmail.com>
Thu, 23 Jul 2015 17:13:35 -0700
changeset 288783 677cba8fd20b956f7878f61a3bc87a8a8e0564ad
parent 288782 d393cac4e944316a0cb757a4bdac23a971536631
child 288784 324ad05911d1f33b25e9d58077cfa7f51eee002e
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, sledru
bugs1179479
milestone42.0a2
Bug 1179479 - Set tablet private browsing hit area to spec. r=mhaigh, a=sledru
mobile/android/base/resources/drawable-large-v11/new_tablet_action_bar_button.xml
mobile/android/base/resources/drawable-large-v11/new_tablet_url_bar_nav_button.xml
--- a/mobile/android/base/resources/drawable-large-v11/new_tablet_action_bar_button.xml
+++ b/mobile/android/base/resources/drawable-large-v11/new_tablet_action_bar_button.xml
@@ -10,33 +10,33 @@
          android:state_pressed="true"
          android:state_enabled="true">
 
         <inset android:insetTop="@dimen/new_tablet_browser_toolbar_menu_item_inset_vertical"
                android:insetBottom="@dimen/new_tablet_browser_toolbar_menu_item_inset_vertical"
                android:insetLeft="@dimen/new_tablet_browser_toolbar_menu_item_inset_horizontal"
                android:insetRight="@dimen/new_tablet_browser_toolbar_menu_item_inset_horizontal">
             <shape android:shape="rectangle">
-                <solid android:color="@color/placeholder_active_grey"/>
+                <solid android:color="@color/text_and_tabs_tray_grey"/>
                 <corners android:radius="@dimen/new_tablet_browser_toolbar_menu_item_corner_radius"/>
             </shape>
         </inset>
 
     </item>
 
     <item gecko:state_private="true"
           android:state_focused="true"
           android:state_pressed="false">
 
         <inset android:insetTop="@dimen/new_tablet_browser_toolbar_menu_item_inset_vertical"
                android:insetBottom="@dimen/new_tablet_browser_toolbar_menu_item_inset_vertical"
                android:insetLeft="@dimen/new_tablet_browser_toolbar_menu_item_inset_horizontal"
                android:insetRight="@dimen/new_tablet_browser_toolbar_menu_item_inset_horizontal">
             <shape android:shape="rectangle">
-                <solid android:color="@color/text_and_tabs_tray_grey"/>
+                <solid android:color="@color/placeholder_active_grey"/>
                 <corners android:radius="@dimen/new_tablet_browser_toolbar_menu_item_corner_radius"/>
             </shape>
         </inset>
 
     </item>
 
     <item android:state_pressed="true"
           android:state_enabled="true">
--- a/mobile/android/base/resources/drawable-large-v11/new_tablet_url_bar_nav_button.xml
+++ b/mobile/android/base/resources/drawable-large-v11/new_tablet_url_bar_nav_button.xml
@@ -4,23 +4,23 @@
    - 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">
 
     <!-- private pressed state -->
     <item gecko:state_private="true"
           android:state_pressed="true"
-          android:drawable="@color/placeholder_active_grey"/>
+          android:drawable="@color/text_and_tabs_tray_grey"/>
 
     <!-- focused state -->
     <item gecko:state_private="true"
           android:state_focused="true"
           android:state_pressed="false"
-          android:drawable="@color/text_and_tabs_tray_grey"/>
+          android:drawable="@color/placeholder_active_grey"/>
 
     <!-- pressed state -->
     <item android:state_pressed="true"
           android:drawable="@color/toolbar_grey_pressed"/>
 
     <!-- focused state -->
     <item android:state_focused="true"
           android:state_pressed="false"