Data display is one of the most common requirements of a mobile application, and Android has many different options available. The ListView is probably one of the most commonly used widgets in the standard Android suite, and styling it allows it to be used to display varying amounts of data, from one line menu items to multi-line to-do notes.

The GridView is effectively a tabular version of ListView, and is well suited for presenting the user with icon views. Icons have enormous advantages over text, since they can be recognized much more quickly by the user. Icons can also take up significantly less space, and in a GridView, you could easily fit four to six icons in a portrait screen without making the user interface cluttered or more ...

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.