/[projects]/android/TrainInfo/res/drawable/custom_button_hilight.xml
ViewVC logotype

Annotation of /android/TrainInfo/res/drawable/custom_button_hilight.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 835 - (hide annotations) (download) (as text)
Fri Jun 11 14:05:24 2010 UTC (13 years, 11 months ago) by torben
File MIME type: text/xml
File size: 1872 byte(s)
Add support for fetching arrivals as well
1 torben 835 <?xml version="1.0" encoding="utf-8"?>
2     <selector
3     xmlns:android="http://schemas.android.com/apk/res/android">
4    
5     <item android:state_pressed="true" >
6     <shape>
7     <gradient
8     android:startColor="#44ff44"
9     android:endColor="#22cc22"
10     android:angle="270" />
11     <stroke
12     android:width="3dp"
13     color="#0000ff" />
14     <corners
15     android:radius="20dp" />
16     <padding
17     android:left="10dp"
18     android:top="10dp"
19     android:right="10dp"
20     android:bottom="10dp" />
21     </shape>
22     </item>
23    
24     <!--
25     <item android:state_focused="true" >
26     <shape>
27     <gradient
28     android:endColor="#eeeeee"
29     android:startColor="#eeeeee"
30     android:angle="270" />
31     <stroke
32     android:width="3dp"
33     color="#00ffff" />
34     <corners
35     android:radius="6dp" />
36     <padding
37     android:left="10dp"
38     android:top="10dp"
39     android:right="10dp"
40     android:bottom="10dp" />
41     </shape>
42     </item>
43     -->
44    
45     <item>
46     <shape>
47     <gradient
48     android:endColor="#00ff00"
49     android:startColor="#00cc00"
50     android:angle="270" />
51     <stroke
52     android:width="3dp"
53     color="#ff00ff" />
54     <corners
55     android:radius="20dp" />
56     <padding
57     android:left="10dp"
58     android:top="10dp"
59     android:right="10dp"
60     android:bottom="10dp" />
61     </shape>
62     </item>
63     </selector>

  ViewVC Help
Powered by ViewVC 1.1.20