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="1001" 24 android:propertyName="translateX" 25 android:valueFrom="-16.0" 26 android:valueTo="-16.0" 27 android:valueType="floatType" 28 android:interpolator="@android:interpolator/linear"/> 29 <objectAnimator 30 android:duration="1001" 31 android:propertyName="translateX" 32 android:valueFrom="-16.0" 33 android:valueTo="0.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="0.0" 40 android:valueTo="0.0" 41 android:valueType="floatType" 42 android:interpolator="@android:interpolator/linear"/> 43 <objectAnimator 44 android:duration="1001" 45 android:propertyName="translateX" 46 android:valueFrom="0.0" 47 android:valueTo="16.0" 48 android:valueType="floatType" 49 android:interpolator="@android:interpolator/fast_out_slow_in"/> 50 <objectAnimator 51 android:duration="1001" 52 android:propertyName="translateX" 53 android:valueFrom="16.0" 54 android:valueTo="16.0" 55 android:valueType="floatType" 56 android:interpolator="@android:interpolator/linear"/> 57 <objectAnimator 58 android:duration="1001" 59 android:propertyName="translateX" 60 android:valueFrom="16.0" 61 android:valueTo="-16.0" 62 android:valueType="floatType" 63 android:interpolator="@android:interpolator/fast_out_slow_in"/> 64</set> 65