The code is as follows:
Private void startTranslationAnimation () {
//departure city animation
TranslateAnimation translateAnimation1=new TranslateAnimation (0.0 f, f 700.0, 0.0 f, 0.0 f);
TranslateAnimation1. SetFillAfter (true);
TranslateAnimation1. SetDuration (1000);
StartCity. StartAnimation (translateAnimation1);
//the end city animation
TranslateAnimation translateAnimation2=new TranslateAnimation (0.0 f to 700.0 f to 0.0 f to 0.0 f);
TranslateAnimation2. SetFillAfter (true);
TranslateAnimation2. SetDuration (1000);
EndCity. StartAnimation (translateAnimation2);
}
My novice one, I wish, your advice
