55 lines
1.7 KiB
XML
55 lines
1.7 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="10dp" />
|
|
<padding
|
|
android:left="6dp"
|
|
android:top="6dp"
|
|
android:right="6dp"
|
|
android:bottom="6dp" />
|
|
</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="10dp" />
|
|
<padding
|
|
android:left="6dp"
|
|
android:top="6dp"
|
|
android:right="6dp"
|
|
android:bottom="6dp" />
|
|
</shape>
|
|
</item>
|
|
<item>
|
|
<shape>
|
|
<gradient
|
|
android:startColor="#ff0d0d"
|
|
android:endColor="#d50808"
|
|
android:angle="270" />
|
|
<stroke
|
|
android:width="1dp"
|
|
android:color="#2f6699" />
|
|
<corners
|
|
android:radius="10dp" />
|
|
<padding
|
|
android:left="6dp"
|
|
android:top="6dp"
|
|
android:right="6dp"
|
|
android:bottom="6dp" />
|
|
</shape>
|
|
</item>
|
|
</selector> |