Android Question How to rotate a View

Hugh Thomas

Member
Licensed 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
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
 
Top