40 lines
1.1 KiB
XML
40 lines
1.1 KiB
XML
<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_window_focused="false">
|
|
<shape>
|
|
<gradient
|
|
android:startColor="#449def"
|
|
android:endColor="#2f6699"
|
|
android:angle="180" />
|
|
<stroke
|
|
android:width="1dp"
|
|
android:color="#2f6699" />
|
|
<corners
|
|
android:radius="4dp" />
|
|
</shape>
|
|
</item>
|
|
<item android:state_window_focused="true">
|
|
<shape>
|
|
<gradient
|
|
android:startColor="#a01010"
|
|
android:endColor="#bf1010"
|
|
android:angle="180" />
|
|
<stroke
|
|
android:width="1dp"
|
|
android:color="#2f6699" />
|
|
<corners
|
|
android:radius="4dp" />
|
|
</shape>
|
|
</item>
|
|
</selector>
|