Android Code Snippet ImageView / Bitmap rotating

As a continued work from this post: Peel routine

The code post in the above link had 4 changes all based on center or x or center of y turning.

I've added 8 more (4 that are like a door hinge and 4 that are a spinning image)

Turned the routine that does this into a class so it should be easy to use.

When I have time will add more.

Updated - 1005 Added some more images and added names for different routines.
Press and HOLD Random button will do a routine show (cycle 100 times)

Updated - 1010 Sorry couldn't help myself added - 8 Swings (swing from top / bottom / left / right)
Also changed Random button to just be a press to Randomly show 100 times

Enjoy
 

Attachments

  • Test_Bitmap.zip
    279.4 KB · Views: 438
Last edited:

Robert Valentino

Well-Known Member
Licensed User
Longtime User
Oops. I moved it to a shared library. Not sure when it didn't pick it up

At doctor right now, will fix when can
 

Robert Valentino

Well-Known Member
Licensed User
Longtime User
Just updated zip file. Now in Shared

Interesting when I use the ctrl-click it does include the (from external directory) the cRotateImage
But when I use the normal File -> export as zip it does but than doesn't include the B4X structure.
 

GMan

Well-Known Member
Licensed User
Longtime User
Works great
 
Top