title: action bar tabs not fill screen in android
body: <p>i'm used support action bar in a application and test in 2 devices Nexus S and Nexus 7 and i found different results regarding tab bar width ,Nexus S tab bar fill width while nexus 7 tab bar leave some space in left side. i used default theme provided by support action bar ,
  applying custom themes does not effect action bar because parent style must be Theme.AppCompat.Light</p>
  
  <p>Activity in Manifest</p>
  
  <pre><code>&lt;activity
      android:name=".MainActivity"
      android:screenOrientation="portrait"
      android:theme="@style/Theme.AppCompat.Light" &gt; 
  
  &lt;android.support.v4.view.ViewPager                                                                                                       
      android:id="@+id/pager"
      android:layout_width="match_parent"
      android:layout_height="match_parent" /&gt;
  </code></pre>
  
  <p>Class:</p>
  
  <pre><code>public class MainActivity extends ActionBarActivity implements ActionBar.TabListener {
  
      ActionBar bar;
      ViewPager pager;
      TabsAdapter adapter;
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          // TODO Auto-generated method stub
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
  
          pager = (ViewPager) findViewById(R.id.pager);
          bar = getSupportActionBar();
  
          adapter = new TabsAdapter(getSupportFragmentManager());
  
          bar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
  
          bar.setHomeButtonEnabled(false);
  
          pager.setAdapter(adapter);
          pager.setOnPageChangeListener(new ViewPager.SimpleOnPageChangeListener() {
  
              @Override
              public void onPageSelected(int position) {
                  // When swiping between different app sections, select the
                  // corresponding tab.
                  // We can also use ActionBar.Tab#select() to do this if we have
                  // a reference to the
                  // Tab.
                  bar.setSelectedNavigationItem(position);
              }
          });
  
          Tab hometab = bar.newTab();
          hometab.setText("Home");
          hometab.setTabListener(this);
          bar.addTab(hometab);
          Tab cameratab = bar.newTab();
          cameratab.setText("Camera");
          cameratab.setTabListener(this);
          bar.addTab(cameratab);
          Tab exploretab = bar.newTab();
          exploretab.setText("Explore");
          exploretab.setTabListener(this);
          bar.addTab(exploretab);
  
          bar.show();
      }
  
      @Override
      public boolean onCreateOptionsMenu(Menu menu) {
          // Inflate the menu items for use in the action bar
          MenuInflater inflater = getMenuInflater();
          inflater.inflate(R.menu.main, menu);
          return super.onCreateOptionsMenu(menu);
      }
  
      @Override
      public void onTabReselected(Tab arg0, FragmentTransaction arg1) {
              // TODO Auto-generated method stub
      }
  
      @Override
      public void onTabSelected(Tab arg0, FragmentTransaction arg1) {
          // TODO Auto-generated method stub
          pager.setCurrentItem(arg0.getPosition());
      }
  
      @Override
      public void onTabUnselected(Tab arg0, FragmentTransaction arg1) {
          // TODO Auto-generated method stub
      }
  </code></pre>
  
  <p>}</p>
  
  <p>here is screen shots</p>
  
  <p><img src="https://i.stack.imgur.com/RLq3H.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/OKbSa.png" alt="enter image description here"></p>