0

I have a background image that I would like to simply scroll (while looping) right to left. What is the best way to go about doing this? Will I need to use an external library? Are there certain methods built into android already to accomplish this? Is all this accomplished in the doDraw() method?

Eventually I would like the canvas to also draw a stationary Bitmap ontop of that. I think that will be easy if I just use the canvas.drawBitmap() function.

MJ93
  • 4,638
  • 8
  • 29
  • 50
  • 1
    This may help: http://stackoverflow.com/questions/4689918/move-image-from-left-to-right-in-android – Neeta Nov 27 '11 at 22:40

1 Answers1

1

Easy example including X offset http://android10.org/index.php/articlesuserinterface/256-live-wallpaper-example and canvas

Benelli
  • 11
  • 1