Hello, please apologize my english, i dont have too much experience in B4A, my question is:
I have an Activity, with a Layout, the Layout has an image (for a logo) some labels and edittexts to enter information, and a button at bottom. Wich is the EASY way to center the labels on screen to see it property no metter if 3.5" old phone or a 6" new one, can i do something like:
button.left = ((screen.width - button.width)/2) ?
I disabled screen rotation, and set it to PORTRAIT, so i dont need to worry about screen rotation (app will be used mostly in cell phones, not tablets)
Thanks in advance!
Mariano.
I have an Activity, with a Layout, the Layout has an image (for a logo) some labels and edittexts to enter information, and a button at bottom. Wich is the EASY way to center the labels on screen to see it property no metter if 3.5" old phone or a 6" new one, can i do something like:
button.left = ((screen.width - button.width)/2) ?
I disabled screen rotation, and set it to PORTRAIT, so i dont need to worry about screen rotation (app will be used mostly in cell phones, not tablets)
Thanks in advance!
Mariano.