Hi -
In the designer I've set the padding, horiz align to "center_horizontal", and vert align to "center_vertical".
And in my activity_create:
But I get left justified when I run the program.
Ideas?
In the designer I've set the padding, horiz align to "center_horizontal", and vert align to "center_vertical".
And in my activity_create:
B4X:
'......................padding: left, top, right, bottom
lblCard1.Padding = Array As Int(10dip,10dip,10dip,10dip)
lblCard1.Gravity=Gravity.CENTER_HORIZONTAL
lblCard1.Gravity=Gravity.CENTER_VERTICAL
lblCard1.TextSize=34
Ideas?