title: Menu items doesn't show up on the actionbar
body: <p>I am using appcompat in my app. I want the menu items to show on actionbar or at least the overflow(3 dots) to show them when there is no room. There is lot of space on the actionbar, but still they don't show up. The menu flow raises from the bottom and that too only when menu button is pressed.</p>
  
  <p><strong>menu_activity.xml:</strong></p>
  
  <pre><code>&lt;menu xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto" &gt;
  
      &lt;item
          android:id="@+id/menu_lang"
          android:showAsAction="always"
          android:title="@string/menu_lang"
          android:icon="@android:drawable/ic_input_lang"/&gt;
  
  &lt;/menu&gt;
  </code></pre>
  
  <p><strong>activity:</strong></p>
  
  <pre><code>@Override
      public boolean onCreateOptionsMenu(Menu menu) {
          // Inflate the menu; this adds items to the action bar if it is present.
          getMenuInflater().inflate(R.menu.menu_activity, menu);
          return true;
      }
  </code></pre>
  
  <p>This <a href="https://stackoverflow.com/a/11484595/1709964">post</a> says that it not works when hardware menu button is present. But other apps are able to show items on the same device. So, that answer seems to be incorrect. Can someone please help on this? </p>
  
  <p><img src="https://i.stack.imgur.com/wFc2F.png" alt="enter image description here"></p>