1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 /** 4 * Copyright (C) 2016 The Android Open Source Project 5 * 6 * Licensed under the Apache License, Version 2.0 (the "License"); 7 * you may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, software 13 * distributed under the License is distributed on an "AS IS" BASIS, 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 * See the License for the specific language governing permissions and 16 * limitations under the License. 17 */ 18 --> 19 <set 20 xmlns:android="http://schemas.android.com/apk/res/android" 21 android:ordering="sequentially"> 22 <objectAnimator 23 android:duration="1000" 24 android:propertyName="translateX" 25 android:valueFrom="415.0" 26 android:valueTo="415.0" 27 android:valueType="floatType" 28 android:interpolator="@android:interpolator/linear"/> 29 <objectAnimator 30 android:duration="1000" 31 android:propertyName="translateX" 32 android:valueFrom="415.0" 33 android:valueTo="206.0" 34 android:valueType="floatType" 35 android:interpolator="@android:interpolator/fast_out_slow_in"/> 36 <objectAnimator 37 android:duration="1000" 38 android:propertyName="translateX" 39 android:valueFrom="206.0" 40 android:valueTo="206.0" 41 android:valueType="floatType" 42 android:interpolator="@android:interpolator/linear"/> 43 <objectAnimator 44 android:duration="1000" 45 android:propertyName="translateX" 46 android:valueFrom="206.0" 47 android:valueTo="-3.0" 48 android:valueType="floatType" 49 android:interpolator="@android:interpolator/fast_out_slow_in"/> 50 <objectAnimator 51 android:duration="700" 52 android:propertyName="translateX" 53 android:valueFrom="-3.0" 54 android:valueTo="-3.0" 55 android:valueType="floatType" 56 android:interpolator="@android:interpolator/linear"/> 57 <objectAnimator 58 android:duration="66" 59 android:propertyName="translateX" 60 android:valueFrom="-3.0" 61 android:valueTo="415.0" 62 android:valueType="floatType" 63 android:interpolator="@android:interpolator/linear"/> 64 <objectAnimator 65 android:duration="233" 66 android:propertyName="translateX" 67 android:valueFrom="415.0" 68 android:valueTo="415.0" 69 android:valueType="floatType" 70 android:interpolator="@android:interpolator/linear"/> 71 <objectAnimator 72 android:duration="1000" 73 android:propertyName="translateX" 74 android:valueFrom="415.0" 75 android:valueTo="-3.0" 76 android:valueType="floatType" 77 android:interpolator="@android:interpolator/fast_out_slow_in"/> 78 </set>