title: Can't add Search button to Action Bar in Android Developer Tutorial
body: <p>I am trying to add the Search button to the Android Action bar by following this tutorial:
  <a href="https://developer.android.com/training/basics/actionbar/adding-buttons.html" rel="nofollow">https://developer.android.com/training/basics/actionbar/adding-buttons.html</a></p>
  
  <p>I modified by minSdkVersion to 11 in my Manifest. </p>
  
  <pre><code>&lt;uses-sdk
      android:minSdkVersion="11"
      android:targetSdkVersion="16" /&gt;
  </code></pre>
  
  <p>I have added the action_search item in a <code>main.xml</code> file located in the <code>menu</code> folder:</p>
  
  <pre><code>&lt;menu xmlns:android="http://schemas.android.com/apk/res/android" &gt;
  
      &lt;item
          android:id="@+id/action_settings"
          android:orderInCategory="100"
          android:showAsAction="never"
          android:title="@string/action_settings"/&gt;
      &lt;item android:id="@+id/action_search"
            android:title="@string/action_search"
            android:icon="@drawable/ic_action_search"
            android:showAsAction="always|collapseActionView"
            android:actionViewClass="android.widget.SearchView"/&gt;
  
  &lt;/menu&gt;
  </code></pre>
  
  <p>Eclipse has provided the method already for the menu, which I have not changed:</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, menu);
      return true;
  }
  </code></pre>
  
  <p>I've added the string to my <code>strings.xml</code>: <code>&lt;string name="action_search"&gt;Search&lt;/string&gt;</code> and included <code>ic_action_search.png</code> in my drawable folders. </p>
  
  <p>There are no errors upon launch. I see the Settings menu item in the overflow. But I do not see the search button anywhere.</p>