Getting DrawerLayout to Slide over the ActionBar Getting DrawerLayout to Slide over the ActionBar android android

Getting DrawerLayout to Slide over the ActionBar


you can use below libraries to get navigation model similar to Google play music app.

  • ActionBarSherlock (github)
  • nested-fragments (github)
  • PagerSlidingTabStrip (github)
  • NavigationDrawer (Android developer site)
  • Latest Support v4 library

I have created a project Navigation Drawer with Tab Strip Example at github, have a look at it.

Below is the screenshot of it.

Navigation-drawer-page-sliding-tab-strip


Any ideas on how this could be done?

Do any of the following:

  • Switch away from action bar tabs, perhaps to ViewPager and a tabbed indicator (PagerTabStrip, TabPageIndicator from ViewPageIndicator)

  • See if an existing third-party drawer implementation has not yet updated to the new UI standards

  • Fork DrawerLayout and modify it to suit

  • Roll your own navigation drawer from scratch

I understand that I might be breaking some conventions and UI patterns here

Correct.


Check also this library http://www.androidviews.net/2013/04/pager-sliding-tabstrip/The guy did a great job. You can use it with a navigation drawer and it works perfectly.