Android translate animation – permanently move View to new position using AnimationListener
I usually prefer to work with deltas in translate animation, since it avoids a lot of confusion. Try this out, see if it works for you: TranslateAnimation anim = new TranslateAnimation(0, amountToMoveRight, 0, amountToMoveDown); anim.setDuration(1000); anim.setAnimationListener(new TranslateAnimation.AnimationListener() { @Override public void onAnimationStart(Animation animation) { } @Override public void onAnimationRepeat(Animation animation) { } @Override public void … Read more