Code example for RotateAnimation

Methods: setDuration, setInterpolator, setRepeatCount, setRepeatMode