Chapter     6

Android UI Layouts: Graphics Design Using the ViewGroup Class

In this sixth chapter, we will take a closer look at the different types of screen layout containers that Android offers, and how they can be used to hold our application new media content and user interface designs. This is a logical follow-on to Chapter 5, where I discussed providing UI layouts for different screen sizes, shapes, orientations, and densities.

User interface layouts are implemented in application Activity subclasses by leveraging a number of layout subclasses created using the Android ViewGroup superclass. ViewGroup is designed to be subclassed, and that has been done for us dozens of times already, providing custom Android layout container classes. ...

Get Pro Android Graphics 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.