I am following http://developer.android.com/guide/topics/graphics/view-animation.html#frame-animation with minor changes. I have decided to make the animation loop and want
animation = AnimationUtils.loadAnimation(this, R.anim.push_left_out); yourobject.startanimation(animation);
This may help