<?xml version="1.0" encoding="utf-8"?>
<animated-vector xmlns:tools="http://schemas.android.com/tools"
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:aapt="http://schemas.android.com/aapt"
    tools:ignore="NewApi">
    <aapt:attr name="android:drawable">
        <vector
            android:width="24dp"
            android:height="24dp"
            android:viewportHeight="24.0"
            android:viewportWidth="24.0">
            <group
                android:name="circleGroup"
                android:pivotX="12"
                android:pivotY="12"
                android:rotation="90.0">

                <path
                    android:name="circlePath"
                    android:pathData="M 12, 12
                        m 0, -10.5
                        a 5,-5 0 1,0 0, 21
                        a 5,-5 0 1,0 0, -21"
                    android:strokeColor="#E6E6E6"
                    android:strokeWidth="2.5"
                    android:strokeLineCap="round"
                    android:strokeLineJoin="miter" />
            </group>

            <group android:name="cross1Group">
                <path
                    android:name="cross1Path"
                    android:pathData="M8.4,8.4 l0,0"
                    android:strokeColor="#E6E6E6"
                    android:strokeWidth="2.5"
                    android:strokeLineCap="round"
                    android:strokeMiterLimit="10"
                    android:strokeAlpha="0"/>
            </group>
            <group android:name="cross2Group">
                <path
                    android:name="cross2Path"
                    android:pathData="M16.2,8.4 l0,0"
                    android:strokeColor="#E6E6E6"
                    android:strokeWidth="2.5"
                    android:strokeLineCap="round"
                    android:strokeMiterLimit="10"
                    android:strokeAlpha="0"/>
            </group>
        </vector>
    </aapt:attr>
    <target
        android:name="cross1Path"
        android:animation="@anim/custom_cross_1_animation">
        <aapt:attr name="android:animation">
            <set xmlns:android="http://schemas.android.com/apk/res/android"
                android:interpolator="@android:anim/linear_interpolator"
                android:ordering="sequentially"
                android:shareInterpolator="false">
                <objectAnimator
                    android:duration="300"
                    android:propertyName="pathData"
                    android:valueFrom="M8.4,8.4 l0,0"
                    android:valueTo="M8.4,8.4 l0,0"
                    android:valueType="pathType" />
                <objectAnimator
                    android:duration="300"
                    android:propertyName="pathData"
                    android:valueFrom="M8.4,8.4 l0,0"
                    android:valueTo="M8.4,8.4 l7.8,7.8"
                    android:valueType="pathType" />
                <objectAnimator
                    android:duration="300"
                    android:propertyName="pathData"
                    android:valueFrom="M8.4,8.4 l7.8,7.8"
                    android:valueTo="M8.4,8.4 l7.8,7.8"
                    android:valueType="pathType" />
            </set>
        </aapt:attr>
    </target>
    <target android:name="cross1Path">
        <aapt:attr name="android:animation">
            <set>
                <objectAnimator
                    android:propertyName="strokeAlpha"
                    android:valueType="floatType"
                    android:valueFrom="0f"
                    android:valueTo="1f"
                    android:duration="100"
                    android:startOffset="300"
                    android:repeatCount="0"
                    android:interpolator="@android:anim/decelerate_interpolator"/>
            </set>
        </aapt:attr>
    </target>

    <target
        android:name="cross2Path"
        android:animation="@anim/custom_cross_2_animation">
        <aapt:attr name="android:animation">
            <set xmlns:android="http://schemas.android.com/apk/res/android"
                android:interpolator="@android:anim/linear_interpolator"
                android:ordering="sequentially"
                android:shareInterpolator="false">
                <objectAnimator
                    android:duration="900"
                    android:propertyName="pathData"
                    android:valueFrom="M16.2,8.4 l0,0"
                    android:valueTo="M16.2,8.4 l0,0"
                    android:valueType="pathType"/>
                <objectAnimator
                    android:duration="300"
                    android:propertyName="pathData"
                    android:valueFrom="M16.2,8.4 l0,0"
                    android:valueTo="M16.2,8.4 l-7.8,7.8"
                    android:valueType="pathType" />
            </set>
        </aapt:attr>
    </target>
    <target android:name="cross2Path">
        <aapt:attr name="android:animation">
            <set>
                <objectAnimator
                    android:propertyName="strokeAlpha"
                    android:valueType="floatType"
                    android:valueFrom="0f"
                    android:valueTo="1f"
                    android:duration="100"
                    android:startOffset="900"
                    android:repeatCount="0"
                    android:interpolator="@android:anim/decelerate_interpolator"/>
            </set>
        </aapt:attr>
    </target>
</animated-vector>