I have a rotation animation that I apply to a view, here is the code:
RotateAnimation shake = new RotateAnimation(-3, 3, 10, 10); shake.setRepeatCount(Animation.INFINITE); shake.setRepeatMode(Animation.REVERSE); shake.setDuration(SHAKE_ANIMATION_DURATION);
But when playing the animation, the field of view changes in pixels:

Is there any way to fix this?
source share