mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-01-06 09:18:12 +00:00
86 lines
3.5 KiB
XML
86 lines
3.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<animated-selector xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<item
|
|
android:id="@+id/collapsed"
|
|
android:state_checked="true">
|
|
<vector
|
|
android:name="vector"
|
|
android:width="18dp"
|
|
android:height="18dp"
|
|
android:viewportWidth="24"
|
|
android:viewportHeight="24">
|
|
<group
|
|
android:name="group"
|
|
android:pivotX="12"
|
|
android:pivotY="12">
|
|
<path
|
|
android:name="path"
|
|
android:fillColor="#000"
|
|
android:pathData="M 12 2 C 9.349 2 6.804 3.054 4.929 4.929 C 3.054 6.804 2 9.349 2 12 C 2 14.651 3.054 17.196 4.929 19.071 C 6.804 20.946 9.349 22 12 22 C 13.755 22 15.48 21.538 17 20.66 C 18.52 19.783 19.783 18.52 20.66 17 C 21.538 15.48 22 13.755 22 12 C 22 10.245 21.538 8.52 20.66 7 C 19.783 5.48 18.52 4.217 17 3.34 C 15.48 2.462 13.755 2 12 2 Z" />
|
|
</group>
|
|
</vector>
|
|
</item>
|
|
|
|
<item
|
|
android:id="@+id/collapsed_selected"
|
|
android:state_selected="true">
|
|
<vector
|
|
android:name="vector"
|
|
android:width="18dp"
|
|
android:height="18dp"
|
|
android:viewportWidth="24"
|
|
android:viewportHeight="24">
|
|
<group
|
|
android:name="group"
|
|
android:pivotX="12"
|
|
android:pivotY="12">
|
|
<path
|
|
android:name="path"
|
|
android:fillColor="#000"
|
|
android:pathData="M 12 2 C 9.349 2 6.804 3.054 4.929 4.929 C 3.054 6.804 2 9.349 2 12 C 2 14.651 3.054 17.196 4.929 19.071 C 6.804 20.946 9.349 22 12 22 C 13.755 22 15.48 21.538 17 20.66 C 18.52 19.783 19.783 18.52 20.66 17 C 21.538 15.48 22 13.755 22 12 C 22 10.245 21.538 8.52 20.66 7 C 19.783 5.48 18.52 4.217 17 3.34 C 15.48 2.462 13.755 2 12 2 Z" />
|
|
</group>
|
|
</vector>
|
|
</item>
|
|
|
|
<item android:id="@+id/expanded">
|
|
<vector
|
|
android:name="vector"
|
|
android:width="18dp"
|
|
android:height="18dp"
|
|
android:viewportWidth="24"
|
|
android:viewportHeight="24">
|
|
<group
|
|
android:name="group"
|
|
android:pivotX="12"
|
|
android:pivotY="12">
|
|
<path
|
|
android:name="path"
|
|
android:fillAlpha="0.3"
|
|
android:fillColor="#000"
|
|
android:pathData="M 12 2 C 9.349 2 6.804 3.054 4.929 4.929 C 3.054 6.804 2 9.349 2 12 C 2 14.651 3.054 17.196 4.929 19.071 C 6.804 20.946 9.349 22 12 22 C 13.755 22 15.48 21.538 17 20.66 C 18.52 19.783 19.783 18.52 20.66 17 C 21.538 15.48 22 13.755 22 12 C 22 10.245 21.538 8.52 20.66 7 C 19.783 5.48 18.52 4.217 17 3.34 C 15.48 2.462 13.755 2 12 2 Z" />
|
|
</group>
|
|
</vector>
|
|
</item>
|
|
|
|
<transition
|
|
android:drawable="@drawable/avd_circle_from_filled"
|
|
android:fromId="@+id/expanded"
|
|
android:toId="@+id/collapsed" />
|
|
|
|
<transition
|
|
android:drawable="@drawable/avd_circle_to_filled"
|
|
android:fromId="@+id/collapsed"
|
|
android:toId="@id/expanded" />
|
|
|
|
<transition
|
|
android:drawable="@drawable/avd_circle_from_filled"
|
|
android:fromId="@+id/expanded"
|
|
android:toId="@+id/collapsed_selected" />
|
|
|
|
<transition
|
|
android:drawable="@drawable/avd_circle_to_filled"
|
|
android:fromId="@+id/collapsed_selected"
|
|
android:toId="@id/expanded" />
|
|
|
|
</animated-selector> |