55 lines
1.6 KiB
XML
55 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<item android:state_pressed="true" >
|
|
<shape>
|
|
<solid
|
|
android:color="#a01010" />
|
|
<stroke
|
|
android:width="1dp"
|
|
android:color="#2f6699" />
|
|
<corners
|
|
android:radius="3dp" />
|
|
</shape>
|
|
</item>
|
|
<item android:state_selected="true" >
|
|
<shape>
|
|
<gradient
|
|
android:startColor="#ffcb00"
|
|
android:endColor="#ff9a00"
|
|
android:angle="180" />
|
|
<stroke
|
|
android:width="1dp"
|
|
android:color="#2f6699" />
|
|
<corners
|
|
android:radius="4dp" />
|
|
</shape>
|
|
</item>
|
|
|
|
<item android:state_enabled="false" >
|
|
<shape>
|
|
<gradient
|
|
android:startColor="#dddddd"
|
|
android:endColor="#cccccc"
|
|
android:angle="270" />
|
|
<stroke
|
|
android:width="1dp"
|
|
android:color="#2f6699" />
|
|
<corners
|
|
android:radius="4dp" />
|
|
</shape>
|
|
</item>
|
|
|
|
<item>
|
|
<shape>
|
|
<gradient
|
|
android:startColor="#50fb70"
|
|
android:endColor="#28cd47"
|
|
android:angle="270" />
|
|
<stroke
|
|
android:width="1dp"
|
|
android:color="#2f6699" />
|
|
<corners
|
|
android:radius="4dp" />
|
|
</shape>
|
|
</item>
|
|
</selector> |