gecko-dev/mobile/android/base/resources/drawable/menu_button.xml
Sriram Ramasubramanian 0bd13d9f59 Bug 852237: Tabs button pressed state with neutral highlight color. [r=mfinkle]
--HG--
extra : rebase_source : 1b686f50165419c641b15401260e081d558f9886
2013-03-18 14:44:39 -07:00

28 lines
841 B
XML

<?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">
<item android:maxLevel="1">
<selector>
<item android:state_pressed="true"
android:drawable="@color/highlight_menu"/>
<item android:state_focused="true"
android:state_pressed="false"
android:drawable="@color/highlight_menu_focused"/>
<item android:drawable="@android:color/black"/>
</selector>
</item>
<item android:maxLevel="2" android:drawable="@android:color/transparent"/>
</level-list>