ActionBar and ActionBar.Tab and Navigation Drawer android

Sumit Patel picture Sumit Patel · Jan 15, 2014 · Viewed 10.4k times · Source

I am using action bar with help of android-support-v7-appcompat and also using Navigation drawer over it.

In one of my fragment if I use ActionBar.Tabs then the tabs overlaps the navigation drawer and the drawer gets below the ActionBar tabs.

How can I make the action bar like in google play application or Google movie application. The tabs should also go behind like the fragment. How can I do the same with android-support-v7-appcompat Libs

Answer

ravindra.kamble picture ravindra.kamble · Jan 15, 2014

For Tab bar try ViewPagerIndicator http://viewpagerindicator.com/ This has a very good implementation for tab bar.

When we use default tab bar with actionbar, in landscape mode it will be merged into single row. So its better to use the above library.