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 the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.