safedispatch-mobile/res/layout/hytera_style_button.xml

55 lines
1.6 KiB
XML
Raw Normal View History

2022-03-10 14:31:03 +00:00
<?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="#4d001f" />
<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="#4d001f" />
<corners
android:radius="4dp" />
</shape>
</item>
<item android:state_enabled="false" >
<shape>
<gradient
android:startColor="#dddddd"
android:endColor="#cccccc"
android:angle="270" />
<stroke
android:width="1dp"
android:color="#4d001f" />
<corners
android:radius="4dp" />
</shape>
</item>
<item>
<shape>
<gradient
android:startColor="#8d0000"
android:endColor="#b20000"
android:angle="270" />
<stroke
android:width="1dp"
android:color="#4d001f" />
<corners
android:radius="4dp" />
</shape>
</item>
</selector>