Akarsh M Akarsh M - 1 year ago 701
Android Question

How to make a Persistent Navigation Drawer in Android?

I have search a lot but manage the Navigation easily but at this time need to Implement Persistent Navigation Drawer.


Please let me know the process to Manage or Sample Tutorial of **Persistent Navigation Drawer** shown in below Image. LinkedIn Android Application is using the same navigation drawer.

enter image description here


Answer Source

I have implement "Persistent Navigation Drawer" via ViewPager and works fine as what I need.

Just use width as 0.8f in PagerAdaper/FragmentPagerAdapter

public float getPageWidth(int position) {
    // TODO Auto-generated method stub
    if (position == 0) {
        return .8f;
    return 1f;
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download