Read More

Dual navigation view

Firstly lets start with what is Navigation view so navigation view represents a standard navigation menu for application. The menu contents can be populated by a menu resource file. It is typically placed inside a Drawer Layout.

You can use dual drawer as one for common data across the app and the second for user specific data. Both the drawers may or may not contain the headers its not a compulsary part.

So if you want to add both left and right navigation drawer in you activity then define them in your activity xml as

layout header is the header layout for your drawers you can define this in res/layout folder as

The menu added are normal menu defined under res/menu folder containing the list to be shown in drawer. Now the sctivity having these drawers lets say MainActivity

And your navigation drawers are ready to use.

. . .

Comment

Add Your Comment

Be the first to comment.

css.php
Hire Us!
Brief us about your requirements and we'll get back to you.
Woo! Hooy!
We have just recieved your project brief and our expert will contact you shortly.
Send Again
Close