androidanimationdurationobjectanimatoranimator

Make ObjectAnimator animation duration independent of global animator duration scale setting in developer options


How can you make ObjectAnimator independent of the "Animator duration scale" developer options setting when constant and unmodifiable speed is critical?


Solution

  • Had to use hidden API to access the setDurationScale method on the ValueAnimator object.