/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
- <selector xmlns:android="http://schemas.android.com/apk/res/android">
-
- <item android:state_pressed="true" >
- <shape android:shape="rectangle">
- <gradient
- android:startColor="#555"
- android:endColor="#222"
- android:angle="90" />
- <stroke
- android:width="1px"
- android:color="#777" />
- <corners android:radius="15dip"/>
- </shape>
- </item>
-
- <item android:state_focused="true" >
- <shape android:shape="rectangle">
- <gradient
- android:endColor="#faac1d"
- android:startColor="#c17f05"
- android:angle="90" />
- <stroke
- android:width="1px"
- android:color="#FFF" />
- <corners android:radius="15dip"/>
- </shape>
- </item>
-
- <item>
- <shape android:shape="rectangle">
- <gradient
- android:endColor="#555"
- android:startColor="#222"
- android:angle="90" />
-
- <stroke
- android:width="1px"
- android:color="#777" />
- <corners android:radius="15dip"/>
- </shape>
- </item>
- </selector>