forked from codepath/android_guides
-
Notifications
You must be signed in to change notification settings - Fork 0
Common Navigation Paradigms
Nathan Esquenazi edited this page Nov 2, 2013
·
2 revisions
Navigation between views is an important part of any application. There are several ways to setup navigation in an Android application:
- ActionBar - Using the ActionBar and/or ActionBar tabs to switch between different views
- Navigation Drawer - Displays a vertical menu that slides in to allow navigation between views
- Screen Map - Providing a series of buttons on screen that can be pressed to visit different views
- Swipe Views - Allow paging between views using a swipe gesture
These four represent the most common navigation paradigms in Android applications. The specifics for how to implement these can be found in the various links above.
For a description of how to add ActionBar tabs to your Activity, check out the ActionBar Tabs cliffnotes for more details.
To create a basic navigation drawer that toggles between displaying different fragments, check out the Fragment Navigation Drawer cliffnotes. For more details about creating a custom drawer check out the Creating a Navigation Drawer docs.