mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-27 01:22:33 -06:00
32 lines
1.3 KiB
XML
32 lines
1.3 KiB
XML
|
<?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>
|