I am using the Actionbarshelock library. I have three tabs. each tab contains a fragment . On my middle tab I have a sliding drawer . I want to hide the action bar , as well as the tabs from the screen, so that I can get more space for the drawer. I hide the action bar using the `hide 'method, but I donβt know how to hide the tabs and show only this middle fragment in full screen with the drawer open.
I tried
requestWindowFeature(com.actionbarsherlock.view.Window.FEATURE_ACTION_BAR_OVERLAY);
It hides tabs, but it must be set before adding fragments and setContentView .
source share