title: Android action button pushed into overflow
body: <p>I'm following the android developers guide. I have this menu I'm inflating in the action bar:</p>
  
  <p>res/menu/main_activity_actions.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;menu xmlns:android="http://schemas.android.com/apk/res/android" &gt;
      &lt;!--Search, should appear as action button --&gt;
      &lt;item android:id="@+id/action_search"
          android:icon="@drawable/ic_action_search"
          android:title="@string/action_search"
          android:showAsAction="always" /&gt;
  
      &lt;!-- Settings, should always be in overflow --&gt;
      &lt;item android:id="@+id/action_settings"
          android:title="@string/action_settings"
          android:showAsAction="never"/&gt;
  &lt;/menu&gt;
  </code></pre>
  
  <p>I have a corresponding icon in res/drawable, and am inflating like so:</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.main_activity_actions, menu);
          return true;
      }
  </code></pre>
  
  <p>The problem I'm facing is that the <code>search</code> action gets pushed into the overflow, and I can't figure out how to make it an action button that always shows up in the action bar.</p>
  
  <p><strong>I did not find a duplicate question on this, though there are many related questions.</strong></p>