How to rotate particular image in multiple images drawn to canvas in android ?
- by Andhravaala
Hi All,
I need a small help on rotating one image around its center of axis among multiple images those are drawn to canvas in android.
I am loading images to canvas like below.
canvas.drawBitmap(mMachineBackground, 0, 0, null);
canvas.drawBitmap(mMachineRotator, 0, 0, null);
I want to rotate only the second bitmap instead of entire canvas.
And, I want to move another particular bitmap half circular like earth rotating around sun(in this case only for half circular).
Please help me in this. And, please guide me to any good Android canvas and animation sample.
Thanks in advance.