dpi dots per inch number of pixels per inch
dip density insependant pixels pixels with Android standard density of 160dpi
If you set Widht = 160 the physical size on the screen would be:
about 1 inch on a device with a density of 160dpi
about 0.75 inch on a device with a density of 240dpi
about 0.5 inch on a device with a density of 320dpi
If you set Width = 160dip the physical size would be:
about 1 inch on a device with a density of 160dpi
about 1 inch on a device with a density of 240dpi
about 1 inch on a device with a density of 320dpi
%x percent of the screen width
100%x = whole screen width
50%x = middle of screen horizontally on any device, independant of its size and resolution.
%y percent of the screen height
100%y = whole available screen height, screen height minus height of the top bars.
50%y = middle of screen vertically on any device, independant of its size and resolution.
If you turn the device %x and %y will change.
You may have a look at chapter 5 Screen sizes and resolutions in the B4A Beginner's Guide.