Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

6. Navigation and Data Loading > Navigating Your App

Navigating Your App

In mobile applications, speed is essential. Users expect to navigate your application quickly and won’t wait for needless animations or screen changes. Using activities, you can add multiple screens to your app, but switching between them is not particularly fast. The solution to this problem is to add a navigation element like tabs to your UI. Tabs allow the user to quickly navigate between multiple screens of your app with a single tap.

Action Bar Navigation

The action bar is the preferred way to add a tabbed interface to your UI (Figure 6.2 shows an example of the action bar with tabs). A tabbed action bar is especially useful when combined with the split navigation mode, and you can create this slick interface with just a few lines of code. There are two primary types of action bar navigation: tabs and lists.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint