3. ActionBars in Action
Most commonly used key actions for an application are displayed through the ActionBar. The ActionBar displays an application’s logo, action items, and action views. The ActionBar can be in the form of tabbed and drop-down lists as well. In this chapter, you will learn to use the ActionBar in an Android application and see how it differs from using the menu. You will discover how to enable the ActionBar and toggle its visibility and learn about different ActionBar components. You will also learn how to display an action item in the ActionBar and how an application’s icon is used to navigate to an application’s home. In addition, you will learn to display action views and submenus in the ActionBar. Finally, you will learn ...
Get The Android™ Tablet Developer’s Cookbook 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.