| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright 2018 The Chromium Authors. All rights reserved. |
| Use of this source code is governed by a BSD-style license that can be |
| found in the LICENSE file. --> |
| <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" |
| tools:targetApi="21"> |
| |
| <aapt:attr name="android:drawable"> |
| <vector |
| android:width="24dp" |
| android:height="24dp" |
| android:viewportHeight="24" |
| android:viewportWidth="24"> |
| |
| <path |
| android:name="arrow" |
| android:fillColor="#000000" |
| android:pathData="M12,8L6,14L7.41,15.41L12,10.83L16.59,15.41L18,14z"/> |
| </vector> |
| </aapt:attr> |
| |
| <target android:name="arrow"> |
| <aapt:attr name="android:animation"> |
| <objectAnimator |
| android:duration="250" |
| android:propertyName="pathData" |
| android:valueFrom="M12,13.17L7.41,8.59L6,10L12,16L18,10L16.59,8.59z" |
| android:valueTo="M12,8L6,14L7.41,15.41L12,10.83L16.59,15.41L18,14z" |
| android:valueType="pathType"/> |
| </aapt:attr> |
| </target> |
| </animated-vector> |