Code example for RotateAnimation

Methods: setDuration, setRepeatCount, setRepeatMode