From b5f073676600ef7ddefd67372f8c925aa65bc31d Mon Sep 17 00:00:00 2001 From: Lucas Rocha Date: Fri, 15 Aug 2014 18:23:19 +0100 Subject: [PATCH] Bug 1054264 - Show pressed state on edit mode's cancel button (r=margaret) --- .../android/base/resources/layout-large-v11/browser_toolbar.xml | 1 + mobile/android/base/resources/layout/browser_toolbar.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/mobile/android/base/resources/layout-large-v11/browser_toolbar.xml b/mobile/android/base/resources/layout-large-v11/browser_toolbar.xml index 88383c5e9640..e672c97cd82f 100644 --- a/mobile/android/base/resources/layout-large-v11/browser_toolbar.xml +++ b/mobile/android/base/resources/layout-large-v11/browser_toolbar.xml @@ -116,6 +116,7 @@ style="@style/UrlBar.ImageButton.Icon" android:layout_alignParentRight="true" android:src="@drawable/close_edit_mode_selector" + android:background="@drawable/action_bar_button" android:paddingLeft="2dp" android:paddingRight="2dp" android:contentDescription="@string/edit_mode_cancel" diff --git a/mobile/android/base/resources/layout/browser_toolbar.xml b/mobile/android/base/resources/layout/browser_toolbar.xml index 1881d899e7ef..a2f3e6f2616d 100644 --- a/mobile/android/base/resources/layout/browser_toolbar.xml +++ b/mobile/android/base/resources/layout/browser_toolbar.xml @@ -98,6 +98,7 @@ android:layout_alignParentRight="true" android:src="@drawable/close_edit_mode_selector" android:contentDescription="@string/edit_mode_cancel" + android:background="@drawable/action_bar_button" android:visibility="invisible"/>