Rabbit-R1/switch port/java/resources/res/drawable/mtrl_checkbox_button.xml

32 lines
1.3 KiB
XML
Raw Normal View History

2024-05-21 16:08:36 -05: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
android:state_checked="true"
android:id="@+id/checked"
android:drawable="@drawable/mtrl_ic_checkbox_checked"/>
<item
android:id="@+id/indeterminate"
android:drawable="@drawable/mtrl_ic_checkbox_checked"
app:state_indeterminate="true"/>
<item
android:state_checked="false"
android:id="@+id/unchecked"
android:drawable="@drawable/mtrl_ic_checkbox_unchecked"/>
<transition
android:drawable="@drawable/mtrl_checkbox_button_checked_unchecked"
android:toId="@+id/unchecked"
android:fromId="@+id/checked"/>
<transition
android:drawable="@drawable/mtrl_checkbox_button_unchecked_checked"
android:toId="@+id/checked"
android:fromId="@+id/unchecked"/>
<transition
android:drawable="@drawable/mtrl_checkbox_button_checked_unchecked"
android:toId="@+id/unchecked"
android:fromId="@+id/indeterminate"/>
<transition
android:drawable="@drawable/mtrl_checkbox_button_unchecked_checked"
android:toId="@+id/indeterminate"
android:fromId="@+id/unchecked"/>
</animated-selector>