For each view in your xml layout, you can apply android: layout_margin * where * is the top, bottom, left or right. You will also want to use dip devices so that they appear on different displays.
One thought: you can be careful using margins and indents to make them look the way you want, because phones like a droid with a higher screen than the βstandardβ can really mess things up.
I suggest taking a look at placing frame style elements in their position using layout_alignParent * (top, bottom, etc.), and then, for example, if you have an open space window on the screen, align its corners with the wireframe elements that will be correctly positioned due to the alignment of the parent elements, and then use the helper LinearLayout, which is centered (android: gravity = "center_horizontal") for the interface buttons or something else.
Guzba source share