How to dynamically change accelerated While the animation running in Android?

126 Views Asked by At

I am using nineoldandroid.

Q: How to change the animation playback time after the animation begins to accelerate animation ends? In other words,How to change the duration?

1

There are 1 best solutions below

0
On

You can use a Interpolator in your animation like this one:

anim.setInterpolator(new AccelerateDecelerateInterpolator());

Source: Setting Interpolators