PageRenderTime 102ms CodeModel.GetById 40ms app.highlight 1ms RepoModel.GetById 60ms app.codeStats 0ms

/TheElements/res/drawable/btn_mb.xml

http://thelements.googlecode.com/
XML | 42 lines | 38 code | 4 blank | 0 comment | 0 complexity | ad7ea9a867f93e010ae9836923ee48f3 MD5 | raw file
 1<selector xmlns:android="http://schemas.android.com/apk/res/android">
 2
 3    <item android:state_pressed="true" >
 4        <shape android:shape="rectangle">
 5            <gradient
 6                android:startColor="#A555"
 7                android:endColor="#A222"
 8                android:angle="90" />
 9            <stroke
10                android:width="1px"
11                android:color="#000" />
12            <corners android:radius="5dip"/>   
13        </shape>
14    </item>
15
16    <item android:state_focused="true" >
17        <shape android:shape="rectangle">
18            <gradient
19                android:endColor="#AAfaac1d"
20                android:startColor="#AAc17f05"
21                android:angle="90" />
22            <stroke
23                android:width="1px"
24                android:color="#A000" />
25            <corners android:radius="5dip"/>   
26        </shape>
27    </item>
28
29    <item>        
30        <shape android:shape="rectangle">
31            <gradient
32                android:endColor="#A555"
33                android:startColor="#A222"
34                android:angle="90" />
35              
36            <stroke
37                android:width="1px"
38                android:color="#000" />
39            <corners android:radius="5dip"/>    
40        </shape>
41    </item>
42</selector>