1

I have very wide image, and I want an infinite animation that moves the ImageView across that image. For example this is my start point: enter image description here

And I want to animate the ImageView to this point of view: enter image description here]![enter image description here

And so on until my ImageView will reach the end of the actual image, and then it will return to the start point.

Ori Seri
  • 917
  • 1
  • 6
  • 14

1 Answers1

0
TranslateAnimation LefttoRight = new TranslateAnimation(0, width,0, 0);
LefttoRight.setDuration(700);
LefttoRight.setFillAfter(false);
image.startAnimation(LefttoRight);
S.M_Emamian
  • 17,005
  • 37
  • 135
  • 254