1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright 2018 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License.
16  -->
17
18<animated-vector
19        xmlns:tools="http://schemas.android.com/tools"
20        xmlns:android="http://schemas.android.com/apk/res/android"
21        xmlns:aapt="http://schemas.android.com/aapt"
22        tools:ignore="NewApi">
23
24    <aapt:attr name="android:drawable">
25
26        <vector
27                android:width="112dp"
28                android:height="112dp"
29                android:viewportWidth="56"
30                android:viewportHeight="56">
31            <path
32                    android:pathData="M32.95,19 C31.036,19 29.199,19.8828338 28,21.2724796 C26.801,19.8828338 24.964,19 23.05,19 C19.6565,19 17,21.6321526 17,24.9945504 C17,29.1089918 20.74,32.4713896 26.405,37.5667575 L28,39 L29.595,37.5667575 C35.26,32.4713896 39,29.1089918 39,24.9945504 C39,21.6321526 36.3435,19 32.95,19 L32.95,19 Z M28.1155,35.9536785 L28,36.0572207 L27.8845,35.9536785 C22.654,31.2506812 19.2,28.1444142 19.2,24.9945504 C19.2,22.8201635 20.8555,21.1798365 23.05,21.1798365 C24.744,21.1798365 26.394,22.2643052 26.9715,23.7520436 L29.023,23.7520436 C29.606,22.2643052 31.256,21.1798365 32.95,21.1798365 C35.1445,21.1798365 36.8,22.8201635 36.8,24.9945504 C36.8,28.1444142 33.346,31.2506812 28.1155,35.9536785 L28.1155,35.9536785 Z"
33                    android:fillColor="#fff" />
34            <group android:name="filled">
35                <clip-path
36                        android:name="clip"
37                        android:pathData="M18,38 C18,38 24,38 24,38 C24,38 32,38 32,38 C32,38 38,38 38,38 L38,38 L18,38 L18,18 Z" />
38                <path
39                        android:pathData="M28,39 L26.405,37.5667575 C20.74,32.4713896 17,29.1089918 17,24.9945504 C17,21.6321526 19.6565,19 23.05,19 C24.964,19 26.801,19.8828338 28,21.2724796 C29.199,19.8828338 31.036,19 32.95,19 C36.3435,19 39,21.6321526 39,24.9945504 C39,29.1089918 35.26,32.4713896 29.595,37.5667575 L28,39 L28,39 Z"
40                        android:fillColor="#fff" />
41            </group>
42        </vector>
43
44    </aapt:attr>
45
46    <target android:name="clip">
47        <aapt:attr name="android:animation">
48
49            <set android:ordering="sequentially">
50                <objectAnimator
51                        android:propertyName="pathData"
52                        android:valueFrom="M18,18 C18,18 24,18 24,18 C24,18 32,18 32,18 C32,18 38,18 38,18 L38,38 L18,38 L18,18 Z"
53                        android:valueTo="M18,26 C18,26 21,28 24,28 C27,28 29,25 32,25 C35,25 38,26 38,26 L38,38 L18,38 L18,26 Z"
54                        android:valueType="pathType"
55                        android:duration="160"
56                        android:interpolator="@android:interpolator/fast_out_linear_in" />
57                <objectAnimator
58                        android:propertyName="pathData"
59                        android:valueFrom="M18,26 C18,26 21,28 24,28 C27,28 29,25 32,25 C35,25 38,26 38,26 L38,38 L18,38 L18,26 Z"
60                        android:valueTo="M18,38 C18,38 24,38 24,38 C24,38 32,38 32,38 C32,38 38,38 38,38 L38,38 L18,38 L18,18 Z"
61                        android:valueType="pathType"
62                        android:duration="120"
63                        android:interpolator="@android:interpolator/linear_out_slow_in" />
64            </set>
65
66        </aapt:attr>
67    </target>
68
69</animated-vector>
70