Skip to content

Instantly share code, notes, and snippets.

@shem8
Created February 25, 2016 18:53
Show Gist options
  • Save shem8/4898f047caa80151bca8 to your computer and use it in GitHub Desktop.
Save shem8/4898f047caa80151bca8 to your computer and use it in GitHub Desktop.
<set
xmlns:android="http://schemas.android.com/apk/res/android"
android:ordering="sequentially">
<!-- first we need to immediately reset state -->
<objectAnimator
android:duration="0"
android:propertyName="trimPathStart"
android:valueFrom="0.45"
android:valueTo="0.45"/>
<!-- then run the animation after a delay -->
<objectAnimator
android:propertyName="trimPathStart"
android:duration="300"
android:startOffset="250"
android:interpolator="@android:interpolator/fast_out_slow_in"
android:valueFrom="0.45"
android:valueTo="0" />
</set>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment