Code example for TranslateAnimation

Methods: setDuration, setInterpolator, setRepeatCount, setRepeatMode