Android Tutorial #40 Animation (6\12) View, Move and add motion to your bitmap image assets

Опубликовано: 19 Май 2026
на канале: clientuser.net
23,707
97

Source Code:   / clientuser_net  

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.