I'm using an ActionBar with tabs in my app, along with an old fashioned menu. When you go into the fragment associated with the menu item, I'd like to keep the ActionBar visible, but deselect all the tabs.
I tried:
_actionBar.selectTab(null);
But that throws an exception.
PS I'm actually using the ActionBarSherlock for compatibility, if that makes a difference.
You could not deselect tab, what do you think will happen? One of tabs should be always selected.
Think about your users. They will not expect that behavior.