<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:ordering="sequentially">
<!--Dummy animation to restore the shape.-->
<set android:ordering="together">
<objectAnimator
android:propertyName="scaleX"
android:duration="0"
android:valueFrom="1"
android:valueTo="1"/>
<objectAnimator
android:propertyName="scaleY"
android:duration="0"
android:valueFrom="1"
android:valueTo="1"/>
<objectAnimator
android:propertyName="translateX"
android:duration="0"
android:valueFrom="0"
android:valueTo="0"/>
<objectAnimator
android:propertyName="translateY"
android:duration="0"
android:valueFrom="0"
android:valueTo="0"/>
</set>
<!--Dummy animation to work as start offset.-->
<objectAnimator
android:propertyName="translateX"
android:duration="2350"
android:valueFrom="0"
android:valueTo="0"/>
<set android:ordering="together">
<objectAnimator
android:interpolator="@anim/fast_out_slow_in_interpolator"
android:propertyName="scaleX"
android:duration="300"
android:valueFrom="1"
android:valueTo="0.7"/>
<objectAnimator
android:interpolator="@anim/fast_out_slow_in_interpolator"
android:propertyName="scaleY"
android:duration="300"
android:valueFrom="1"
android:valueTo="0.7"/>
</set>
<!--Dummy animation to work as start offset.-->
<objectAnimator
android:propertyName="translateX"
android:duration="1000"
android:valueFrom="0"
android:valueTo="0"/>
<set android:ordering="together">
<objectAnimator
android:propertyName="scaleX"
android:duration="300"
android:valueFrom="0.7"
android:valueTo="0.4"/>
<objectAnimator
android:propertyName="scaleY"
android:duration="300"
android:valueFrom="0.7"
android:valueTo="0.4"/>
<objectAnimator
android:propertyName="translateX"
android:duration="300"
android:valueFrom="0"
android:valueTo="-55"/>
<objectAnimator
android:propertyName="translateY"
android:duration="300"
android:valueFrom="0"
android:valueTo="-60"/>
</set>
</set>