0

I am moving images in my layout from right to left with a delay of 1000ms. The application used absolute layout and redraw the images dynamically. Is there any other way to do it?? Like the images in scroll View or Some animation?

Anchal
  • 859
  • 1
  • 10
  • 21

1 Answers1

0

you can do frame-by-frame animation in android; frame-by-frame animation is defined in an xml file and then used within the activity to start the animation.

To do this AnimationDrawable class is used.

see this duplicate question Starting Frame-By-Frame Animation which may help.

And the almost exact example can be found from here.

Also you can check the other good example at here which is beginner guide for this.

Community
  • 1
  • 1
Jigar Pandya
  • 6,004
  • 2
  • 27
  • 45