title: Overflow menu incorrectly positioned
body: <p>I create an overflow menu using onCreateOptionsMenu, but the menu is positioned almost completely off the screen. I have tried setting <code>android:anyDensity="true"</code> explicitly (as suggested in <a href="https://stackoverflow.com/questions/10257565/action-bar-menu-shows-off-screen">Action bar menu shows off screen</a>), but that did not solve the problem for me. I also do not want to follow the suggestion of using an old theme (as in <a href="https://stackoverflow.com/questions/8549755/ics-menu-item-text-cut-off">ICS - menu item text cut off?</a>). </p>
  
  <p>Screenshot (the right-hand side of the image is the physical screen border; the image was cut off on the left by me):<br/>
  <img src="https://i.stack.imgur.com/KmK9O.png" alt="enter image description here"></p>
  
  <p>The XML is</p>
  
  <pre>
  &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;menu xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;item android:id="@+id/menu_about"
            android:title="About"
            android:icon="@android:drawable/ic_menu_info_details" /&gt;
      &lt;item android:id="@+id/menu_reset"
            android:title="Reset image"
            android:icon="@android:drawable/ic_menu_revert" /&gt;
      &lt;item android:id="@+id/menu_share"
            android:title="Share"
            android:icon="@android:drawable/ic_menu_share"
            android:showAsAction="ifRoom" /&gt;
      &lt;item android:id="@+id/menu_facebook_logout"
            android:title="FB logout"
            android:icon="@drawable/fbook"
            showAsAction="ifRoom" /&gt;
      &lt;item android:id="@+id/menu_save"
            android:title="Save"
            android:icon="@android:drawable/ic_menu_save"
            android:showAsAction="ifRoom" /&gt;
      &lt;item android:id="@+id/menu_exit"
            android:title="Exit"
            android:icon="@android:drawable/ic_menu_close_clear_cancel" /&gt;
  &lt;/menu&gt;
  </pre>
  
  <p>What am I doing wrong?</p>