<?xml version="1.0" encoding="utf-8"?>
<animated-vector xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:aapt="http://schemas.android.com/aapt"
    android:drawable="@drawable/ic_add_close">

    <target
        android:name="add">
        <aapt:attr name="android:animation">
            <objectAnimator
                android:duration="100"
                android:propertyName="rotation"
                android:valueFrom="0"
                android:valueTo="45"/>
        </aapt:attr>
    </target>

    <target
        android:name="add_path">
        <aapt:attr name="android:animation">
            <objectAnimator
                android:duration="100"
                android:propertyName="fillAlpha"
                android:valueFrom="1"
                android:valueTo="0"/>
        </aapt:attr>
    </target>

    <target
        android:name="close">
        <aapt:attr name="android:animation">
            <objectAnimator
                android:startOffset="50"
                android:duration="100"
                android:propertyName="rotation"
                android:valueFrom="-45"
                android:valueTo="0"/>
        </aapt:attr>
    </target>

    <target
        android:name="close_path">
        <aapt:attr name="android:animation">
            <objectAnimator
                android:startOffset="50"
                android:duration="100"
                android:propertyName="fillAlpha"
                android:valueFrom="0"
                android:valueTo="1"/>
        </aapt:attr>
    </target>

</animated-vector>

