Using the GridView class

A GridView is a ListView with a fixed number of columns, arranged left-to-right, top-to-bottom. The standard (un-themed) Android application menu is arranged like a GridView. The GridView class makes use of a ListAdapter in the exact same format as ListView. However, because of its fixed column count, a GridView is very well suited for lists of icons.

Tip

Using GridViews effectively

A GridView can display significantly more information on a single screen than a ListView, at the expense of not being able to show as much text information. From a usability point of view, icons are often easier to work with than text. Icons can be recognized more quickly than text, thanks to their colors. When you have information that can be ...

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.