Android Question Justify a text

Touch

Active Member
Licensed User
Longtime User
Hello everyone,
How can I justify a text in a label?
 

mangojack

Expert
Licensed User
Longtime User
in designer .. collapse 'Text Style' .. you will see properties for Horizontal and vertical alignment.

in code ..
B4X:
  Label1.Gravity = Gravity.Center   'center text horizontaly and verticaly

See Gravity Constants ..
 
Last edited:
Upvote 0

mangojack

Expert
Licensed User
Longtime User
sorry .. misunderstood. have you seen THIS ..
see post #5
 
Upvote 0
Top