More XML Layouts :
RelativeLayout :
Each child element is laid out in relation to other child elements.
Relationships can be established so that children will start themselves where a previous child ends. Children can relate only to elements that are listed before them. So, build your dependency from the beginning of the XML file to the end.
AbsoluteLayout :
Each child must be given a specific location within the bounds of the parent layout object. The AbsoluteLayout object is probably the easiest to build and visualize but the hardest to migrate to a new device or screen size.
TableLayout :
TableLayout is a layout object that allows you to specify table rows.
Android tries to arrange each of the child elements into the correct row and columns.
No comments:
Post a Comment