Android Question Can I get the exact values from objects properties in layout

rafaelmotaquintana

Active Member
Licensed User
Lets say, I have a label, with LEFT = 100

I'd like to get that same value in my program, no some value converted , so if I test
mylabel.LEFT , it returns always 100, no matter the device.
Could it be possible?
(the same for Size property)
 

DonManfred

Expert
Licensed User
Longtime User
You should use dip-Values.
B4X:
myLabel.left = 100dip
 
Upvote 0
Top