49 lines
1.5 KiB
XML
49 lines
1.5 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
|
||
|
android:shape="rectangle" >
|
||
|
<gradient
|
||
|
android:startColor="@color/holo_blue1"
|
||
|
android:endColor="@color/holo_blue2"
|
||
|
android:angle="90" />
|
||
|
<stroke
|
||
|
android:width="3dp"
|
||
|
android:color="@color/holo_blue2" />
|
||
|
<corners
|
||
|
android:radius="4dp" />
|
||
|
</shape>
|
||
|
</item>
|
||
|
|
||
|
<item android:state_focused="true" >
|
||
|
<shape
|
||
|
android:shape="rectangle" >
|
||
|
<gradient
|
||
|
android:startColor="@color/holo_purple1"
|
||
|
android:endColor="@color/holo_purple2"
|
||
|
android:angle="90" />
|
||
|
<stroke
|
||
|
android:width="3dp"
|
||
|
android:color="@color/holo_purple2" />
|
||
|
<corners
|
||
|
android:radius="4dp" />
|
||
|
</shape>
|
||
|
</item>
|
||
|
|
||
|
<item>
|
||
|
<shape
|
||
|
android:shape="rectangle" >
|
||
|
<gradient
|
||
|
android:startColor="@color/gray3"
|
||
|
android:endColor="@color/gray4"
|
||
|
android:angle="90" />
|
||
|
<stroke
|
||
|
android:width="3dp"
|
||
|
android:color="@color/gray4" />
|
||
|
<corners
|
||
|
android:radius="4dp" />
|
||
|
</shape>
|
||
|
</item>
|
||
|
</selector>
|