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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mobile/android/base/resources/drawable/url_bar_nav_button.xml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,36 @@
     1.4 +<?xml version="1.0" encoding="utf-8"?>
     1.5 +<!-- This Source Code Form is subject to the terms of the Mozilla Public
     1.6 +   - License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 +   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     1.8 +
     1.9 +<selector xmlns:android="http://schemas.android.com/apk/res/android"
    1.10 +          xmlns:gecko="http://schemas.android.com/apk/res-auto">
    1.11 +
    1.12 +    <!-- private pressed state -->
    1.13 +    <item gecko:state_private="true"
    1.14 +          android:state_pressed="true"
    1.15 +          android:drawable="@color/highlight_nav_pb"/>
    1.16 +
    1.17 +    <!-- focused state -->
    1.18 +    <item gecko:state_private="true"
    1.19 +          android:state_focused="true"
    1.20 +          android:state_pressed="false"
    1.21 +          android:drawable="@color/highlight_nav_focused_pb"/>
    1.22 +
    1.23 +    <!-- pressed state -->
    1.24 +    <item android:state_pressed="true"
    1.25 +          android:drawable="@color/highlight_nav"/>
    1.26 +
    1.27 +    <!-- focused state -->
    1.28 +    <item android:state_focused="true"
    1.29 +          android:state_pressed="false"
    1.30 +          android:drawable="@color/highlight_nav_focused"/>
    1.31 +
    1.32 +    <!-- private browsing mode -->
    1.33 +    <item gecko:state_private="true"
    1.34 +          android:drawable="@color/background_private"/>
    1.35 +
    1.36 +    <!-- normal mode -->
    1.37 +    <item android:drawable="@color/background_normal"/>
    1.38 +
    1.39 +</selector>

mercurial