Bug 1271805 - Update color of pressed item in the long-press back history menu. r=ahunt draft
authorMichael Comella <michael.l.comella@gmail.com>
Tue, 10 May 2016 14:43:54 -0700
changeset 365970 b9a836ec3ca4a5ddbaf741ad7b3f8a6a6f8cc8bd
parent 365472 a64c5d134d0f2d4bc46ede356a5e8517654e9c62
child 520673 e77e91ebd8c079f68caa1867c05087136c4e8b96
push id17869
push usermichael.l.comella@gmail.com
push dateWed, 11 May 2016 18:52:58 +0000
reviewersahunt
bugs1271805
milestone49.0a1
Bug 1271805 - Update color of pressed item in the long-press back history menu. r=ahunt 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" >