Hello,
I am trying to space 4 images along the bottom of the screen in the designer but I can't work out how to space them apart evenly along the bottom of the screen.
I don't want them touching each other and need them spaced evenly no matter what screen size it's running on.
Here is a sample on what I am trying to do:
The only way I have worked out so far is the following code but not sure if there is a better way in doing this?
I am trying to space 4 images along the bottom of the screen in the designer but I can't work out how to space them apart evenly along the bottom of the screen.
I don't want them touching each other and need them spaced evenly no matter what screen size it's running on.
Here is a sample on what I am trying to do:
The only way I have worked out so far is the following code but not sure if there is a better way in doing this?
B4X:
icon1.HorizontalCenter = 15%x
icon2.HorizontalCenter = 38%x
icon3.HorizontalCenter = 61%x
icon4.HorizontalCenter = 85%x