blob: ae5b9e0cc2583a04cdb43ce96c870e1c03403d68 [file] [log] [blame]
Emeric Vigier78a53e92012-08-29 18:15:34 -04001<?xml version="1.0" encoding="utf-8"?>
2<selector
3 xmlns:android="http://schemas.android.com/apk/res/android">
4
Emeric Vigiere89b48b2012-08-30 14:16:46 -04005 <item android:state_pressed="true"
6 android:state_enabled="true" >
Emeric Vigier78a53e92012-08-29 18:15:34 -04007 <shape>
8 <gradient
Emeric Vigiere89b48b2012-08-30 14:16:46 -04009 android:startColor="#ff8888"
10 android:endColor="#cc0000"
Emeric Vigier78a53e92012-08-29 18:15:34 -040011 android:angle="270" />
12 <stroke
13 android:width="3dp"
Emeric Vigiere89b48b2012-08-30 14:16:46 -040014 android:color="#ff8888" />
15 <corners
16 android:radius="3dp" />
Emeric Vigier78a53e92012-08-29 18:15:34 -040017 <padding
18 android:left="10dp"
19 android:top="10dp"
20 android:right="10dp"
21 android:bottom="10dp" />
22 </shape>
23 </item>
24
Emeric Vigiere89b48b2012-08-30 14:16:46 -040025 <item android:state_enabled="false" >
Emeric Vigier78a53e92012-08-29 18:15:34 -040026 <shape>
27 <gradient
Emeric Vigiere89b48b2012-08-30 14:16:46 -040028 android:startColor="#cccccc"
29 android:endColor="#cc0000"
Emeric Vigier78a53e92012-08-29 18:15:34 -040030 android:angle="270" />
31 <stroke
32 android:width="3dp"
Emeric Vigiere89b48b2012-08-30 14:16:46 -040033 android:color="#cc0000" />
34 <corners
35 android:radius="3dp" />
Emeric Vigier78a53e92012-08-29 18:15:34 -040036 <padding
37 android:left="10dp"
38 android:top="10dp"
39 android:right="10dp"
40 android:bottom="10dp" />
41 </shape>
42 </item>
43
44 <item>
45 <shape>
46 <gradient
Emeric Vigiere89b48b2012-08-30 14:16:46 -040047 android:startColor="#ff4444"
48 android:endColor="#cc0000"
Emeric Vigier78a53e92012-08-29 18:15:34 -040049 android:angle="270" />
50 <stroke
51 android:width="3dp"
Emeric Vigiere89b48b2012-08-30 14:16:46 -040052 android:color="#cc0000" />
53 <corners
54 android:radius="3dp" />
Emeric Vigier78a53e92012-08-29 18:15:34 -040055 <padding
56 android:left="10dp"
57 android:top="10dp"
58 android:right="10dp"
59 android:bottom="10dp" />
60 </shape>
61 </item>
62</selector>