Code example for Animation

Methods: setDuration, setFillAfter, setInterpolator, setStartOffset