what-the-bank/resources/res/drawable/bg_button_outline_right.xml

39 lines
1.2 KiB
XML
Raw Normal View History

2024-07-27 18:17:47 +07:00
<?xml version="1.0" encoding="utf-8"?>
<ripple xmlns:android="http://schemas.android.com/apk/res/android" color="#4f2a81">
<item
id="@android:id/mask"
drawable="@drawable/bg_button"/>
<item>
<selector>
<item state_enabled="false">
<shape shape="rectangle">
<stroke
width="1dp"
color="#667631c1"/>
<corners
topRightRadius="4dp"
bottomRightRadius="4dp"/>
</shape>
</item>
<item state_selected="true">
<shape shape="rectangle">
<solid color="#7631c1"/>
<corners
topRightRadius="4dp"
bottomRightRadius="4dp"/>
</shape>
</item>
<item>
<shape shape="rectangle">
<stroke
width="1dp"
color="#7631c1"/>
<corners
topRightRadius="4dp"
bottomRightRadius="4dp"/>
</shape>
</item>
</selector>
</item>
</ripple>