Android Question Justify a text

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

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

See Gravity Constants ..
 
Last edited:
Upvote 0
in designer .. colapse 'Text Style' .. you will see properties for Horizontal and vertical alignment.

in code ..
B4X:
Expand Collapse Copy
  Label1.Gravity =Gravity.Centre

See Gravity Constants .. I believe they also apply to labels

Thanks mangojack, but my question was related to the distribution of the text both left and right.
 
Upvote 0
sorry .. misunderstood. have you seen THIS ..
see post #5
 
Upvote 0
Back
Top