title: Creating a menu resource in Android Studio
body: <p>In Eclipse, the menu resource is created automatically but In Android Studio I've heard you need to create it manually so I copy this function: </p>
  
  <pre><code>@Override
  public boolean onCreateOptionsMenu(Menu menu) {
      getMenuInflater().inflate(R.menu.activity_quiz, menu);
      return true;
  }
  </code></pre>
  
  <p>And XML resource:</p>
  
  <pre><code>&lt;menu xmlns:android="http://schemas.android.com/apk/res/android" &gt;
  
    &lt;item
      android:id="@+id/menu_settings"
      android:orderInCategory="100"
      android:showAsAction="never"
      android:title="@string/menu_settings"/&gt;
  
  &lt;/menu&gt;
  </code></pre>
  
  <p>This doesn't automatically work and shows an error on line <code>android:showAsAction="never"</code>.</p>
  
  <p>What's the different with it in Android Studio?</p>