title: Hiding actionBar tabs with navigation mode adversely affecting fragment backstack
body: <p>I've got an activity with an actionbar, and actionbar tabs. When I choose an item from the contents of the tabs, I'm trying to replace the current fragment with a new one, add the transaction to the back stack, and hide the tabs.</p>
  
  <p>I hide the tabs by changing the action bar navigation mode to standard.</p>
  
  <p>The problem is that when I press the back button, I just get a blank view with the action bar (in standard mode).. The fragment transaction doesn't appear to be reversed.</p>
  
  <p>If I don't hide the tabs by changing the navigation mode to standard, the transaction reversal works fine..</p>
  
  <p>I've tried overriding the back press to change the navigation mode back to tabs, but it doesn't work.</p>
  
  <p>Could someone tell me how they would achieve this?</p>
  
  <p>Here is the code where the tabs get hidden and the fragment transaction takes place:</p>
  
  <pre><code>        ActionBar actionBar = getActivity().getActionBar();
          actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_STANDARD);
  
          Fragment albumListFragment = new AlbumListFragment();
          albumListFragment.setArguments(bundle);
          FragmentTransaction ft = getFragmentManager().beginTransaction();
  
          ft.replace(android.R.id.content, albumListFragment);
          ft.addToBackStack(null);
  
          // Commit the transaction
          ft.commit();
  </code></pre>
  
  <p>For clarity: I would expect that pressing back after this transaction has been committed, the tabs would come back into view with the previous fragment. At the moment after pressing back it's not showing the tabs OR the fragment.</p>