8. Implementing the Main Menu Screen

In this chapter, you learn about some of the different menu mechanisms available in Android. You begin by implementing the main menu screen of the Have You Read That? application, using layout controls, such as RelativeLayout. You also learn about a powerful control called a GridView, which is used to provide a variable-length scrolling list of items with individual click actions. Finally, you learn about other special types of menus available for use in your applications, such as the options menu.

Designing the Main Menu Screen

To design the main menu screen, begin by reviewing what its functions are and then roughly sketch what you want it to look like. If you review the screen requirements discussed in ...

Get Learning Android™ Application Programming for the Kindle Fire™: A Hands-On Guide to Building Your First Android Application now with O’Reilly online learning.

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