Android Question How to rotate a View

Hugh Thomas

Member
Licensed User
Longtime User
I'm using the following code on B4A to rotate a label 90 degrees, so that that the text is aligned vertically along the size of the screen
B4X:
Reflect.Target = vw
Reflect.RunMethod2("setRotation",RotateDegrees,"java.lang.float")

How can I do this in B4i?

Thanks,

Hugh
 

Hugh Thomas

Member
Licensed User
Longtime User
My apologies. I intended post this in the B4i forum but must have mis-clicked somewhere.

In any case that's for the pointer to the solution.

Hugh
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…