Android Question [XUI] Labels with gravity?

wimpie3

Well-Known Member
Licensed User
Longtime User
Hi there,

I want to create cross platform labels programmatically. The problem is that as soon as I try to use the Gravity property, this doesn't seem to work (Gravity is not a property of B4Xview).

So how can I create cross platform label which supports gravity?
 

wimpie3

Well-Known Member
Licensed User
Longtime User
@klaus that sounds like the best solution. How should I dim this label? Simply
B4X:
Dim label as B4XView
right?
 
Upvote 0

wimpie3

Well-Known Member
Licensed User
Longtime User
Unfortunately this doesn't seem to work correctly for b4i ("the vertical alignment has no effect" according to the popup help)
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…