- you can (or need) use an XML layout file to “layout” your buttons and more.
Yes, you can use the xml layout. This is not required, however, since you can also create an entire user interface in java.
- So does this mean that I have to use tables correctly?
No, many layouts are available.
- Is there a way that I can just freely move the button where I want with the mouse using the graphical layout editor in eclipse?
No, you cannot in Eclipse. You can encode it and see how it changes its location in the layout preview. AbsoluteLayout is deprecated due to issues that it causes with all the different screen sizes.
The best alternative is to master RelativeLayout. This is a very powerful layout that will allow you to position your user interface widgets anywhere on the screen, while at the same time simplifying support for multiple screen sizes.
Aleadam
source share