Bug 1179479 - Set tablet private browsing hit area to spec. r=mhaigh draft
authorMichael Comella <michael.l.comella@gmail.com>
Thu, 23 Jul 2015 17:13:35 -0700
changeset 282092 bcf7f8e1b2e0b8362b3a4a4a516c3b6a8f523656
parent 282091 93aaefa278b8ebce28e70aa23dbc64f04fab39c4
child 282093 985250a052bcb3a739fa2b95dc2c33ee426f6bc5
push id3939
push usermichael.l.comella@gmail.com
push dateFri, 31 Jul 2015 02:19:55 +0000
reviewersmhaigh
bugs1179479
milestone42.0a1
Bug 1179479 - Set tablet private browsing hit area to spec. r=mhaigh
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"