summaryrefslogtreecommitdiff
path: root/app/src/main/res/drawable/ic_animate_play_pause.xml
blob: 8e4f65b5e7e222ad15626b9e15199c64f9f9ab91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="utf-8"?>
<animated-vector
        xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:tools="http://schemas.android.com/tools"
        xmlns:aapt="http://schemas.android.com/aapt"
        android:drawable="@drawable/ic_animate_play"
        tools:ignore="NewApi">
    <target android:name="path">
        <aapt:attr name="android:animation">
            <objectAnimator
                    android:duration="@integer/fragment_transition_duration"
                    android:propertyName="pathData"
                    android:valueFrom="@string/svg_animatable_play"
                    android:valueTo="@string/svg_animatable_pause"
                    android:valueType="pathType"/>
        </aapt:attr>
    </target>
    <target android:name="group">
        <aapt:attr name="android:animation">
            <objectAnimator
                    android:duration="@integer/fragment_transition_duration"
                    android:propertyName="rotation"
                    android:valueFrom="0"
                    android:valueTo="90"/>
        </aapt:attr>
    </target>
</animated-vector>