title: More MenuItems shown than needed after rotation in Android
body: <p>I have an app (for 4.0 and above) which has couple of <code>MenuItem</code>s in the <code>ActionBar</code> (one with 'always' and the rest with 'ifRoom' or 'never' property).</p>
  
  <p>So the issue goes like this...
  If I launch the app in landscape mode, the <code>ActionBar</code> looks like the following:
  <img src="https://i.stack.imgur.com/4ZFvK.png" alt="launched in landscape mode"></p>
  
  <p>When I rotate to landscape from portrait, the <code>ActionBar</code> looks like this:
  <img src="https://i.stack.imgur.com/cBn19.png" alt="landscape from portrait"></p>
  
  <p>As you can see, more icons appear than they should be, i.e no space is left for title bar and the tabs menu (Navigation Menu). Actually, the 4 items are shown in the portrait mode (it's a split ActionBar) and it seems that the Android doesn't realise that there's no SplitActionBar there anymore.</p>
  
  <p>Please suggest what I can do to fix this? :)</p>
  
  <hr>
  
  <h2>Edit</h2>
  
  <p>My menu.xml:</p>
  
  <pre><code>&lt;menu xmlns:android="http://schemas.android.com/apk/res/android" &gt;
  
      &lt;item
          android:id="@+id/action_share"
          android:icon="@drawable/ic_menu_share"
          android:showAsAction="always"
          android:title="@string/share"/&gt;
      &lt;item
          android:id="@+id/action_viewToggle"
          android:icon="@drawable/ic_menu_view_as_grid"
          android:showAsAction="ifRoom"
          android:title="@string/switch_view"/&gt;
      &lt;item
          android:id="@+id/action_upload"
          android:icon="@drawable/ic_menu_upload"
          android:showAsAction="ifRoom"
          android:title="@string/upload"/&gt;
      &lt;item
          android:id="@+id/action_newFolder"
          android:icon="@drawable/ic_menu_new_folder"
          android:showAsAction="ifRoom"
          android:title="@string/create_folder"/&gt;
      &lt;item
          android:id="@+id/action_multiselect"
          android:icon="@drawable/ic_menu_select_all"
          android:showAsAction="ifRoom"
          android:title="@string/selection_mode"/&gt;
      &lt;item
          android:id="@+id/action_refresh"
          android:icon="@drawable/ic_menu_refresh"
          android:showAsAction="ifRoom"
          android:title="@string/refresh"/&gt;
      &lt;item
          android:id="@+id/action_settings"
          android:icon="@drawable/ic_menu_settings"
          android:showAsAction="never"
          android:title="@string/action_settings"/&gt;
  
  &lt;/menu&gt;
  </code></pre>