title: Change tab width in ActionBar.Tab
body: <p>I'm creating an app with Tab navigation. I display icons instead of text.</p>
  
  <p>I want the tabs to only wrap the image, so I won't have to scroll to reach all the tabs.</p>
  
  <p>How can I create tabs that just fills the screen?</p>
  
  <p>This is how the tabs currently look:
  <img src="https://i.stack.imgur.com/FV8jd.png" alt="enter image description here"></p>
  
  <p>You can see I need to scroll... There is another tab that is unseen in this screenshot.</p>
  
  <p>This is my code for creating the tabs:</p>
  
  <pre><code>    final ActionBar actionBar = getSupportActionBar();
      actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
  
      // Create the adapter that will return a fragment for each of the three
  
      actionBar.addTab(
              actionBar.newTab()
                      .setIcon(R.drawable.tabs_bar_add_item)
                      .setContentDescription(TAB_ADD_ITEM)
                      .setTabListener(this)
                      .setCustomView(R.layout.add_item_tab)
      );
  
      actionBar.addTab(
              actionBar.newTab()
                      .setIcon(R.drawable.tabs_bar_shopping_list)
                      .setContentDescription(TAB_SHOW_LIST)
                      .setTabListener(this)
      );
  
      actionBar.addTab(
              actionBar.newTab()
                      .setIcon(R.drawable.tabs_bar_map)
                      .setContentDescription(TAB_SHOW_MAP)
                      .setTabListener(this)
      );
  
      actionBar.addTab(
              actionBar.newTab()
                      .setIcon(R.drawable.tabs_bar_specials)
                      .setContentDescription(TAB_SHOW_SPECIALS)
                      .setTabListener(this)
      );
  </code></pre>
  
  <p>The first <code>R.layout.add_item_tab</code> is just a simple imageView. I tried it that way...</p>
  
  <p>Any ideas?</p>