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 326278 f26255003a58fa156188c8c883915489ddf5a375
parent 326277 1b9f41637fb2276a45a185e840b58f670f274883
child 326279 c78d7c8ed6bcc18fdd6c084145bc48d5b4666667
push id1128
push userjlund@mozilla.com
push dateWed, 01 Jun 2016 01:31:59 +0000
treeherdermozilla-release@fe0d30de989d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersahunt, ritu
bugs1271805
milestone47.0
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" >