Chapter 5. Developing Non-linear Layouts

Non-linear layouts are normally a completely fundamental subject of user interface design. However, on a device with a small screen (as many Android devices are), it doesn't always make sense. That said, Android devices can be turned to landscape mode, where suddenly you have an abundance of horizontal space, and limited vertical space. In these situations (and as we'll see, in many other situations as well), you will want to work with a layout other than the plain old LinearLayout structure we've worked with so far.

The real power of Android layouts comes from the same place as the power of the old Java AWT LayoutManagers by combining the different layout classes with each other. For example, combining ...

Get Android User Interface Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.