Code example for Animation

Methods: setDuration, setInterpolator, setStartOffset