Code example for TranslateAnimation

Methods: setDuration, setRepeatCount, setRepeatMode