View
ViewGroup
View
(and ViewGroup
) objects in order to define the layout of the interface (such as a linear or relative layout).
View
and ViewGroup
objects, as shown in the figure.
Each view group is an invisible container that organizes child views, while the child views may be input controls or other widgets that draw some part of the UI. |
View
objects in code and start building a tree, but the easiest and most effective way to define your layout is with an XML file.
XML offers a human-readable structure for the layout, similar to HTML.