title: Force collapse of tabs in ActionBar
body: <p>I'm developing a Android application, using the <code>ActionBarSherlock</code> library. In one activity, I use a tabbed navigation in combination with a collapsed <code>ActionBar</code> (action items at the bottom).</p>
  
  <p>In this picture you can see the <code>Activity</code> in its <strong>current state</strong>: The tabs are being pushed in a second row.</p>
  
  <p><img src="https://i.stack.imgur.com/Doslb.png" alt="Current ActionBar"></p>
  
  <hr>
  
  <p>In the following picture you can see the <code>Activity</code> the way I want it to be: The tabs should be in the top row, not in a second row. I already read the <code>ActionBar</code> and <code>ActionBarSherlock</code> documentation, but found no way to force this behaviour.</p>
  
  <p><img src="https://i.stack.imgur.com/pidf1.png" alt="The wished ActionBar layout"></p>
  
  <p>This is the current code, used to create the <code>ActionBar</code>.</p>
  
  <pre><code>public class AdminActivity extends SherlockFragmentActivity {
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_admin);
  
      ActionBar actionBar = getSupportActionBar();
      actionBar.setDisplayHomeAsUpEnabled(true);
      actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
  
      ActionBar.Tab itemsTab = actionBar.newTab().setText(R.string.label_tab_items);
      ActionBar.Tab usersTab = actionBar.newTab().setText(R.string.label_tab_users);
  
      actionBar.addTab(itemsTab);
      actionBar.addTab(usersTab);
  }
  </code></pre>
  
  <p>Any ideas?</p>