Chapter 3. Laying Out Controls in Containers
In This Chapter
• Applying the Orientation
Attribute
• Applying Height
and Width
Attributes
• Applying the Padding
Attribute
• Applying the Weight
attribute
• Applying the Gravity
Attribute
• Using the android:layout_gravity
Attribute
• Relative Layout Control Attributes
• TableLayout Operations
A container is a view used to contain other views. Android offers a collection of view classes that act as containers for views. These container classes are called layouts, and as the name suggests, they decide the organization, size, and position of their children ...
Get Android™ Programming Unleashed now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.