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