title: Eclipse/Android error: String types not allowed
body: <p>I have an options_menu.xml file like this:</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;item android:id="@+id/search"
        android:title="@string/search_title"
        android:icon="@drawable/ic_search"
        android:showAsAction="collapseActionView|ifRoom"
        android:actionViewClass="android.widget.SearchView" /&gt;
  &lt;/menu&gt;
  </code></pre>
  
  <p>When I do a project -> clean or a build, I get an error:</p>
  
  <blockquote>
    <p>String types not allowed (at 'showAsAction' with value 'collapseActionView|ifRoom')</p>
  </blockquote>
  
  <p>I cannot figure out what is wrong.  My target SDK version is 11.  Does anybody know what is causing this?</p>
  
  <p>Thanks,
  Igor</p>