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

23 lines
690 B
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">
<solid color="#667631c1"/>
<corners radius="4dp"/>
</shape>
</item>
<item>
<shape shape="rectangle">
<solid color="#7631c1"/>
<corners radius="4dp"/>
</shape>
</item>
</selector>
</item>
</ripple>