Bug 1271805 - Update color of pressed item in the long-press back history menu. r=ahunt a=ritu
authorMichael Comella <michael.l.comella@gmail.com>
Tue, 10 May 2016 14:43:54 -0700
changeset 332875 083385f30a43954843fc5f4bba0c52958307be0c
parent 332874 1836352e593204c8f32755553d0c3c7ba1c5f744
child 332876 ef0e7d240660bf60dc9ef3f7bb07274504952943
push id6048
push userkmoir@mozilla.com
push dateMon, 06 Jun 2016 19:02:08 +0000
treeherdermozilla-beta@46d72a56c57d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersahunt, ritu
bugs1271805
milestone48.0a2
Bug 1271805 - Update color of pressed item in the long-press back history menu. r=ahunt a=ritu MozReview-Commit-ID: 5q45HtRfv1l
mobile/android/base/resources/color/state_pressed_toolbar_grey_pressed.xml
mobile/android/base/resources/layout/tab_history_item_row.xml
copy from mobile/android/base/resources/color/pressed_about_page_header_grey.xml
copy to mobile/android/base/resources/color/state_pressed_toolbar_grey_pressed.xml
--- a/mobile/android/base/resources/color/pressed_about_page_header_grey.xml
+++ b/mobile/android/base/resources/color/state_pressed_toolbar_grey_pressed.xml
@@ -1,12 +1,12 @@
 <!-- This Source Code Form is subject to the terms of the Mozilla Public
    - License, v. 2.0. If a copy of the MPL was not distributed with this
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 
 <selector xmlns:android="http://schemas.android.com/apk/res/android">
 
     <item android:state_pressed="true"
-          android:drawable="@color/about_page_header_grey" />
+          android:drawable="@color/toolbar_grey_pressed" />
 
     <item android:drawable="@android:color/transparent"/>
 
 </selector>
--- a/mobile/android/base/resources/layout/tab_history_item_row.xml
+++ b/mobile/android/base/resources/layout/tab_history_item_row.xml
@@ -3,17 +3,17 @@
    - License, v. 2.0. If a copy of the MPL was not distributed with this
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
                 xmlns:gecko= "http://schemas.android.com/apk/res-auto"
                 android:layout_width="fill_parent"
                 android:layout_height="wrap_content"
                 android:orientation="horizontal"
-                android:background="@drawable/action_bar_button" >
+                android:background="@color/state_pressed_toolbar_grey_pressed" >
 
     <LinearLayout android:id="@+id/tab_history_timeline_combo"
                     android:layout_width="wrap_content"
                     android:layout_height="wrap_content"
                     android:orientation="vertical"
                     android:layout_marginLeft="@dimen/tab_history_combo_margin_left"
                     android:layout_marginRight="@dimen/tab_history_combo_margin_right" >