Understanding Layout Managers
Android offers a collection of view classes that act as containers for views. These container classes are called layouts (or layout managers), and each implements a specific strategy to manage the size and position of its children. For example, the
LinearLayout class lays out its children either horizontally or vertically, one after the other. All layout managers derive from the
View class, therefore you can nest layout managers inside of one another.
The layout managers that ship with the Android SDK are defined in Table 6–2.
We will discuss these layout managers in the sections that follow. The layout manager called ...