42 lines
1.2 KiB
XML
42 lines
1.2 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" />
|
|
|
|
</shape>
|
|
</item>
|
|
<item android:state_enabled="false" >
|
|
<shape>
|
|
<gradient
|
|
android:startColor="#dddddd"
|
|
android:endColor="#cccccc"
|
|
android:angle="180" />
|
|
<stroke
|
|
android:width="1dp"
|
|
android:color="#2f6699" />
|
|
<corners
|
|
android:radius="10dp" />
|
|
</shape>
|
|
</item>
|
|
<item>
|
|
<shape>
|
|
<gradient
|
|
android:startColor="#eb7603"
|
|
android:centerColor="#ee943c"
|
|
android:endColor="#eb7603"
|
|
android:angle="270" />
|
|
<stroke
|
|
android:width="1dp"
|
|
android:color="#2f6699" />
|
|
<corners
|
|
android:radius="10dp" />
|
|
</shape>
|
|
</item>
|
|
</selector> |