Bug 1071226 - Part 1: Use same menu asset for private browsing mode. r=lucasr

This commit is contained in:
Michael Comella 2014-09-29 09:51:45 -07:00
parent 7d31f43aa5
commit 696ce7060a
2 changed files with 1 additions and 23 deletions

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- 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/. -->
<level-list xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:gecko="http://schemas.android.com/apk/res-auto">
<item android:maxLevel="1">
<selector>
<item gecko:state_private="true" android:drawable="@drawable/menu_pb"/>
<item android:drawable="@drawable/new_tablet_menu"/>
</selector>
</item>
<item android:maxLevel="2" android:drawable="@android:color/transparent"/>
</level-list>

View File

@ -91,7 +91,7 @@
style="@style/UrlBar.ImageButton"
android:layout_alignLeft="@id/menu"
android:layout_alignRight="@id/menu"
android:src="@drawable/new_tablet_menu_level"
android:src="@drawable/new_tablet_menu"
android:visibility="gone"/>
<!-- We draw after the menu items so when they are hidden, the cancel button,