Android Question Manage the orientation of a text

Erick_Alvarez

New Member
Licensed User
Longtime User
Hello, i want to change this: "Hello world" to "plɹoʍ ollǝɥ" in my app
Do anyone knows how to do that?

Thank you
 

stevel05

Expert
Licensed User
Longtime User
From API11 (Android 3) you can rotate views using the reflection library:

B4X:
    Dim R As Reflector
    R.Target=Label1
    R.RunMethod2("setRotation","180","java.lang.float")

See the View documentation for more info.

Or you can have more control (and it will work on the earlier OS) by drawing the text on a canvas.
 
Upvote 0
Top