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 the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.