I have a semi circle that I rotate 180 degrees. If the user presses reset during the RotateAnimation, I want to have a reset animation that goes from currentDegree back to 0. Currently the reset animation goes from 180 to 0, but this looks strange if the animation hasn't finished yet.
I have:
final RotateAnimation resetAnim =
new RotateAnimation(-180f, 0f, width, height/2);
I want something like:
final RotateAnimation resetAnim =
new RotateAnimation(currentDegreeOfAnimation, 0f, width, height/2);