Source Code:

At last! Something visually stimulating! We get around to animating a bitmap, here I show you how to increment the x y coordinates of your bitmap, draw to the new coordinates and re-start the whole process buy issuing the invalidate command and the end of your onDraw method – and in doing so, giving the awesome illusion of motion.

Very cool.

Nguồn:https://u-os.org/

Author

Write A Comment