rockdam / property_animation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Property Animations Demo

Demonstration of choreographed property animations. Jump to the activity for the most relevant example code. Animations illustrated include:

  • Using the ObjectAnimator for basic view animations
  • Using the setRepeatMode and setRepeatCount to repeat animations
  • Animating a view between two background colors using ArgbEvaluator
  • Configuring the interpolation mode of an animation with setInterpolator
  • Setting animation callback with AnimatorListenerAdapter
  • Choreographing multiple animations with the AnimatorSet
  • Using the ViewPropertyAnimator to easily animate a view
  • Inflating and playing animations from XML res/animator
  • Creating custom-timed animations with the ValueAnimator

Preview of the app:

Refer to the CodePath Animations Guide for further details.

About


Languages

Language:Kotlin 100.0%