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

55 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="#6a6a6a" />
<stroke
android:width="1dp"
android:color="#9b9b9b" />
<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="#9b9b9b" />
<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="#9b9b9b" />
<corners
android:radius="4dp" />
</shape>
</item>
<item>
<shape>
<gradient
android:startColor="#373737"
android:endColor="#111111"
android:angle="270" />
<stroke
android:width="1dp"
android:color="#9b9b9b" />
<corners
android:radius="4dp" />
</shape>
</item>
</selector>