mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 06:45:42 +00:00
Bug 1071226 - Part 1: Use same menu asset for private browsing mode. r=lucasr
This commit is contained in:
parent
7d31f43aa5
commit
696ce7060a
@ -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>
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user