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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mobile/android/base/resources/drawable/tab_thumbnail.xml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,50 @@
     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 +    <item android:state_focused="true">
    1.13 +
    1.14 +        <shape android:shape="rectangle">
    1.15 +            <solid android:color="#B3FF9500"/>
    1.16 +            <corners android:radius="3dp"/>            
    1.17 +        </shape>
    1.18 +
    1.19 +    </item>
    1.20 +
    1.21 +    <item android:state_pressed="true">
    1.22 +
    1.23 +        <shape android:shape="rectangle">
    1.24 +            <solid android:color="#B3FF9500"/>
    1.25 +            <corners android:radius="3dp"/>
    1.26 +        </shape>
    1.27 +
    1.28 +    </item>
    1.29 +
    1.30 +    <item gecko:state_recording="true">
    1.31 +
    1.32 +        <shape android:shape="rectangle">
    1.33 +            <solid android:color="#FFFF0000"/>
    1.34 +            <corners android:radius="3dp"/>            
    1.35 +        </shape>
    1.36 +
    1.37 +    </item>
    1.38 +
    1.39 +    <item android:state_focused="false"
    1.40 +          android:state_pressed="false"
    1.41 +          android:state_checked="true"
    1.42 +          gecko:state_recording="false">
    1.43 +
    1.44 +        <shape android:shape="rectangle">
    1.45 +            <solid android:color="#FFFF9500"/>
    1.46 +            <corners android:radius="3dp"/>            
    1.47 +        </shape>
    1.48 +
    1.49 +    </item>
    1.50 +
    1.51 +    <item android:drawable="@android:color/transparent"/>
    1.52 +
    1.53 +</selector>

mercurial