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

32 lines
1.1 KiB
XML
Raw Normal View History

2024-07-27 18:17:47 +07:00
<?xml version="1.0" encoding="utf-8"?>
<animated-selector xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<item
state_checked="true"
id="@+id/checked"
drawable="@drawable/mtrl_ic_checkbox_checked"/>
<item
id="@+id/indeterminate"
drawable="@drawable/mtrl_ic_checkbox_checked"
NOT_FOUND_0x5="true"/>
<item
state_checked="false"
id="@+id/unchecked"
drawable="@drawable/mtrl_ic_checkbox_unchecked"/>
<transition
drawable="@drawable/mtrl_checkbox_button_checked_unchecked"
toId="@+id/unchecked"
fromId="@+id/checked"/>
<transition
drawable="@drawable/mtrl_checkbox_button_unchecked_checked"
toId="@+id/checked"
fromId="@+id/unchecked"/>
<transition
drawable="@drawable/mtrl_checkbox_button_checked_unchecked"
toId="@+id/unchecked"
fromId="@+id/indeterminate"/>
<transition
drawable="@drawable/mtrl_checkbox_button_unchecked_checked"
toId="@+id/indeterminate"
fromId="@+id/unchecked"/>
</animated-selector>