safedispatch-mobile/res/layout/style_menu_button_sd.xml
2022-03-10 16:31:03 +02:00

56 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="180" />
<stroke
android:width="1dp"
android:color="#2f6699" />
<corners
android:radius="4dp" />
</shape>
</item>
<item>
<shape>
<gradient
android:startColor="#449def"
android:endColor="#2f6699"
android:angle="180" />
<stroke
android:width="1dp"
android:color="#2f6699" />
<corners
android:radius="4dp" />
</shape>
</item>
</selector>