Code example for Animation

Methods: setDuration, setInterpolator, setRepeatCount, setRepeatMode