7

Making smooth animations

view full story
linux-howto

http://stackoverflow.com – I have a property animation, but it's not smooth, i.e I'm getting jumps in the animation. I tried to play with the parameters for the animator, such as the interpolator, the duration, and the frame delay, but can't get a smooth effect. Does anyone have some tricks / examples? Here's my current code for setting the animator: rotationAnimator=new ObjectAnimator(); rotationAnimator.setTarget(rotationController); rotationAnimator.setPropertyName("mapRotation"); rotationAnimator.setInterpolator(new LinearInterpolator()); ValueAnimator.setFrameDelay(24); rotationAnimator.setDuration(ROTATION_DURAT (HowTos)