mobile/android/base/resources/drawable/tabs_panel_indicator.xml

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 <?xml version="1.0" encoding="utf-8"?>
     2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
     3    - License, v. 2.0. If a copy of the MPL was not distributed with this
     4    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     6 <selector xmlns:android="http://schemas.android.com/apk/res/android">
     8     <item android:state_focused="false"
     9           android:state_selected="false"
    10           android:state_pressed="false"
    11           android:drawable="@android:color/transparent"/>
    13     <item android:state_focused="false"
    14           android:state_selected="true"
    15           android:state_pressed="false"
    16           android:drawable="@drawable/tab_indicator_selected"/>
    18     <item android:state_focused="true"
    19           android:state_selected="false"
    20           android:state_pressed="false"
    21           android:drawable="@color/highlight_dark_focused"/>
    23     <item android:state_focused="true"
    24           android:state_selected="true"
    25           android:state_pressed="false"
    26           android:drawable="@drawable/tab_indicator_selected_focused"/>
    28     <item android:state_focused="false"
    29           android:state_selected="false"
    30           android:state_pressed="true"
    31           android:drawable="@color/highlight_dark"/>
    33     <item android:state_focused="false"
    34           android:state_selected="true"
    35           android:state_pressed="true"
    36           android:drawable="@color/highlight_dark"/>
    38     <item android:state_focused="true"
    39           android:state_selected="false"
    40           android:state_pressed="true"
    41           android:drawable="@color/highlight_dark"/>
    43     <item android:state_focused="true"
    44           android:state_selected="true"
    45           android:state_pressed="true"
    46           android:drawable="@color/highlight_dark"/>
    48 </selector>

mercurial