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.
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 suitRoll your own navigation drawer from scratch
I understand that I might be breaking some conventions and UI patterns here
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.