The following is the first few sections of a chapter from The Busy Coder's Guide to Android Development, plus headings for the remaining major sections, to give you an idea about the content of the chapter.


GridLayout

In 2011, Google added GridLayout to our roster of available container classes (a.k.a., layout managers). GridLayout is an attempt to make setting up complex Android layouts a bit easier, particularly with an eye towards working well with IDE graphical layout editors. In this chapter, we will examine why GridLayout was added and how we can use it in our projects.

Prerequisites

Understanding this chapter requires that you have read the core chapters of this book.

Issues with the Classic Containers

The preview of this section took that left turn at Albuquerque.

The New Contender: GridLayout

The preview of this section is sleeping in.

GridLayout and the Android Support Package

The preview of this section was eaten by a grue.

Our Test App

The preview of this section was lost in the sofa cushions.

Replacing the Classics

The preview of this section took that left turn at Albuquerque.

Implicit Rows and Columns

The preview of this section was the victim of a MITM ('Martian in the middle') attack.

Row and Column Spans

The preview of this section was lost in the sofa cushions.