1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2018 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16<set 17 xmlns:android="http://schemas.android.com/apk/res/android" 18 android:ordering="sequentially" > 19 <set 20 android:ordering="together" > 21 <objectAnimator 22 android:duration="300" 23 android:propertyName="fillColor" 24 android:valueFrom="#000000" 25 android:valueTo="#4285F4" 26 android:interpolator="@android:interpolator/linear_out_slow_in" /> 27 <objectAnimator 28 android:duration="300" 29 android:propertyName="fillAlpha" 30 android:valueFrom="0.07" 31 android:valueTo="0.65" /> 32 </set> 33 <set 34 android:ordering="together" > 35 <objectAnimator 36 android:duration="300" 37 android:propertyName="fillColor" 38 android:valueFrom="#4285F4" 39 android:valueTo="#000000" 40 android:interpolator="@android:interpolator/fast_out_slow_in" /> 41 <objectAnimator 42 android:duration="300" 43 android:propertyName="fillAlpha" 44 android:valueFrom="0.65" 45 android:valueTo="0.07" /> 46 </set> 47</set> 48