PageRenderTime 101ms CodeModel.GetById 40ms app.highlight 1ms RepoModel.GetById 59ms app.codeStats 0ms

/TheElements/res/drawable/btn_mm.xml

http://thelements.googlecode.com/
XML | 42 lines | 38 code | 4 blank | 0 comment | 0 complexity | d1333c96723c1156cc69c501a301c8c9 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="#555"
 7                android:endColor="#222"
 8                android:angle="90" />
 9            <stroke
10                android:width="1px"
11                android:color="#777" />
12            <corners android:radius="15dip"/>   
13        </shape>
14    </item>
15
16    <item android:state_focused="true" >
17        <shape android:shape="rectangle">
18            <gradient
19                android:endColor="#faac1d"
20                android:startColor="#c17f05"
21                android:angle="90" />
22            <stroke
23                android:width="1px"
24                android:color="#FFF" />
25            <corners android:radius="15dip"/>   
26        </shape>
27    </item>
28
29    <item>        
30        <shape android:shape="rectangle">
31            <gradient
32                android:endColor="#555"
33                android:startColor="#222"
34                android:angle="90" />
35              
36            <stroke
37                android:width="1px"
38                android:color="#777" />
39            <corners android:radius="15dip"/>    
40        </shape>
41    </item>
42</selector>