title: Action Bar Tab change with tablet orientation
body: <p>I have a activity with some fragment inside this activity.</p>
  
  <p>My problem happens when change the orientation the tablet horizontal to vertical.
  The action bar tab change, and not stay equals when change the orientation.</p>
  
  <p>When change the orientation the other fragments tabs disappear and i don't know why. I post two images. The first before the change and the second after change.</p>
  
  <p>Here is some of code....</p>
  
  <p><img src="https://i.stack.imgur.com/F9YyL.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/FtlEc.png" alt="enter image description here"></p>
  
  <pre><code>  @Override
  public void onTabSelected(CompatTab tab, FragmentTransaction ft) {
      Fragment fragment = tab.getFragment();
      //Fragment fragment = mActivity.getSupportFragmentManager().findFragmentByTag(TAB_MAIN);
      if(fragment==null){
          fragment = Fragment.instantiate(mActivity, mClass.getName());
          tab.setFragment(fragment);
          ft.add(android.R.id.tabcontent, fragment, tab.getTag());
      }else{
          ft.attach(fragment);
      }       
  }
  
    Inside the manifest....
       &lt;activity android:name="ClientEditActivity"
                android:configChanges="orientation|screenSize"
                android:screenOrientation="unspecified"/&gt;
  </code></pre>