mobile/android/base/resources/drawable-xlarge-mdpi-v11/tabs_button.xml.in
author Richard Newman <rnewman@mozilla.com>
Sun, 02 Dec 2012 00:32:38 -0800
changeset 126453 cc9fa565751545e14bb351f361ff0fd5c7085357
parent 126452 mobile/android/base/resources/drawable-xlarge-mdpi-v11/tabs_button.xml@0d6694aa229af6b071f4d0de8b739c31573d5e14
parent 123633 mobile/android/base/resources/drawable-xlarge-mdpi-v11/tabs_button.xml@30ae7de73333819b6f539660c7ff5e950a6d7ce2
permissions -rw-r--r--
Merge m-c to s-c (with resource merges in mobile/android/base/resources/drawable/).

#filter substitution
<?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/@ANDROID_PACKAGE_NAME@">

    <item android:maxLevel="1">

        <selector>

            <item gecko:state_private="true"
                  android:state_pressed="true"
                  android:drawable="@drawable/highlight"/>

            <item gecko:state_private="true"
                  android:drawable="@drawable/tabs_tray_bg_pb_repeat"/>

            <item android:state_pressed="true"
                  android:drawable="@drawable/highlight"/>

            <item android:drawable="@drawable/tabs_tray_bg_repeat"/>

        </selector>

    </item>

    <item android:maxLevel="2">

        <selector>

            <item gecko:state_private="true"
                  android:state_pressed="true"
                  android:drawable="@drawable/highlight"/>

            <item gecko:state_private="true"
                  android:drawable="@drawable/tabs_tray_bg_pb_repeat"/>

            <item android:state_pressed="true"
                  android:drawable="@drawable/highlight"/>

            <item android:drawable="@drawable/tabs_tray_bg_repeat"/>

        </selector>

    </item>

</level-list>