Bug 1271805 - Update color of pressed item in the long-press back history menu. r=ahunt
MozReview-Commit-ID: 5q45HtRfv1l
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" >