You are on page 1of 11

Navigation in Mobile

Application
Navigation

 Navigation refers to the interactions that allow users to navigate


across, into, and back out from the different pieces of content within
your app.
 Functions
 Highlight the core functions
 Simplify the user journey
Benefits of Navigation

 Convenience
 Connectivity
 Time Saving
Types of Navigation

 Structural(Home)
-Find Geocache
-Select Geocache to target
 Associative(Sub Categories)
-Shop Geocache Products
-Buy Packages
 Utility
-Search box
-Language Selection
Navigation in Mobile Application

 How it works?
 Various alternatives
Choose right navigation utility for your
app
 Navigation Drawer
 Tabbed Activity
 Link Buttons
 Context Menu
 Fragments
 Card Links
Principles of navigation in Mobile App

 Fixed Start Destination


 Navigation state is represented as a stack of destinations
 Buttons are identical within your app's task
Navigation Drawer

 The navigation drawer slides in from the left/right and contains the
navigation destinations for your app.
 Alternatives to launch Navigation Drawer
Steps to implement Navigation Drawer

 Step 1: Add dependencies

dependencies {
    implementation 'com.android.support:design:27.0.2'
    implementation 'com.android.support:support-v4:27.0.2'
}
Steps to implement Navigation Drawer

 Step 2:
Include Drawer Layout and Navigation View widget in your layout file and
add tools property with the value as start to display the navigation drawer.
 DrawerLayout acts as a top-level container for window content that
allows for interactive "drawer" views to be pulled out
 NavigationView represents a standard navigation menu for application.
The menu contents can be populated by a menu resource file.
Steps to implement Navigation Drawer

 Step 3:
 Set Header Layout and Menu Layout as per your requirements

You might also like