title: Menu key doesn't appear for my app on honeycomb?
body: <p>I've got a project which links to API level 11. When I run this on phones, and hit the menu key, my menu shows up fine. When I run on a device which is running android 3.0.1, the menu key does not appear for the same activity:</p>
  
  <p>Any idea why the menu key wouldn't show for this activity?</p>
  
  <pre><code>@Override
  public boolean onCreateOptionsMenu(Menu menu) {
      super.onCreateOptionsMenu(menu);
      menu.add(...);
      return true;
  }
  
  @Override
  public boolean onPrepareOptionsMenu(Menu menu) {
      menu.clear();
      menu.add(...);
      return super.onPrepareOptionsMenu(menu);
  }
  </code></pre>
  
  <p>Shouldn't the menu key be appearing for this activity?</p>
  
  <p>Thanks</p>
  
  <p>----- Update --------------------</p>
  
  <p>After some more searching, found this thread on the same issue:
  <a href="http://groups.google.com/group/android-developers/browse_thread/thread/c4b1b835060bd93f" rel="nofollow">http://groups.google.com/group/android-developers/browse_thread/thread/c4b1b835060bd93f</a></p>
  
  <p>Hackborn says the menu button will be shown if you <em>do not</em> target sdk 11. Which I was doing. So I have a very odd setup now:</p>
  
  <pre><code>&lt;manifest&gt;
    &lt;uses-sdk 
      android:minSdkVersion="5" 
      android:targetSdkVersion="10" /&gt;
  
    &lt;application 
      android:hardwareAccelerated="true" &gt;
    &lt;/application&gt;
  &lt;/manifest&gt;
  </code></pre>
  
  <p>and in my project properties, I am linked to sdk 11. The reason I'm linking to sdk 11 is so that I can use the "hardwareAccelerated=true" flag in the manifest as above. </p>
  
  <p>So to summarize, I'm linked to sdk 11 in project settings, but setting targetSdkVersion=10 in the manifest. Is that legit? I thought they would have to match,</p>
  
  <p>Thanks</p>