title: Get options menu to show in system bar
body: <p>I'm trying to get my options menu to show up in the new Android 3.0 system bar. I can get this behavior to work with the Notepadv3 tutorial. However, when implementing nearly the identical functions, the menu shows in the above action bar, but not the system bar. Any ideas?</p>
  
  <p>Attached is the appropriate code for my application:</p>
  
  <pre><code>public class AACUser extends Activity {
  
  
  private static final int ADMIN_ID = Menu.FIRST;
  
  public boolean onCreateOptionsMenu(Menu menu) {
      super.onCreateOptionsMenu(menu);
      menu.add(0, ADMIN_ID, 0, R.string.menu_admin);
      return true;
  }
  
  
  @Override
  public boolean onMenuItemSelected(int featureId, MenuItem item) {
      switch(item.getItemId()) {
          case ADMIN_ID:
              enterAdminMode();
              return true;
          default:
              return super.onMenuItemSelected(featureId, item);
      }
  }
  
  
  }
  </code></pre>
  
  <p>I've also tried implementing these menu functions as recomended by the <a href="http://developer.android.com/guide/topics/ui/menus.html" rel="nofollow">creating menu documentation</a>:</p>
  
  <pre><code>public boolean onCreateOptionsMenu(Menu menu) {
          MenuInflater inflater = getMenuInflater();
          inflater.inflate(R.menu.user_menu, menu);
          return true;
      }
  
      @Override
      public boolean onOptionsItemSelected(MenuItem item) {
          // Handle item selection
          switch (item.getItemId()) {
          case R.id.menu_adminMode:
              enterAdminMode();
              return true;
          default:
              return super.onOptionsItemSelected(item);
          }
      }
  </code></pre>
  
  <p>but no difference: it still displays the option in the overflow of the action bar, but not the system bar.</p>