Answer the question
In order to leave comments, you need to log in
How to make Rotate fade out?
I'm making a rotation of the picture, how can I make the rotation speed gradually decrease towards the end?
Here's how I rotate the image:
RotateAnimation rotate = new RotateAnimation(0, 540,
Animation.RELATIVE_TO_SELF, 0.5f,
Animation.RELATIVE_TO_SELF, 0.5f);
rotate.setDuration(1000);
rotate.setFillAfter(true);
rotate.setInterpolator(new LinearInterpolator());
imageDrum.startAnimation(rotate);
Answer the question
In order to leave comments, you need to log in
rotate.setInterpolator(new LinearInterpolator());
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question