title: Toolbar Won't Show Menu Button
body: <p>I tried different methods of making a menu button on the Android Studio update but I couldn't make the menu button appear.</p>
  
  <pre><code>@Override
  public boolean onCreateOptionsMenu(Menu menu) {
      getMenuInflater().inflate(R.menu.menu_mainmenu, menu);
      return true;
  }
  
  @Override
  public boolean onOptionsItemSelected(MenuItem item) {
      // Handle action bar item clicks here. The action bar will
      // automatically handle clicks on the Home/Up button, so long
      // as you specify a parent activity in AndroidManifest.xml.
      int id = item.getItemId();
  
      //noinspection SimplifiableIfStatement
      if (id == R.id.settings) {
          return true;
      }
  
      return super.onOptionsItemSelected(item);
  }
  </code></pre>
  
  <p>I have added this code in the Activity and made a menu.xml file containing:</p>
  
  <pre><code>&lt;menu xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      &gt;
      &lt;item
          android:id="@+id/expanded_menu"
          android:showAsAction="always"
          android:icon="@drawable/ic_action_menu"
          app:showAsAction="always"
          android:title="button"&gt;
      &lt;/item&gt;
      &lt;item android:id="@+id/credits"
          android:title="Credits"
          android:orderInCategory="100"
          /&gt;
       &lt;item android:title="Settings"
          android:id="@+id/settings"
          android:orderInCategory="101"
           /&gt;
  &lt;/menu&gt;
  </code></pre>
  
  <p>Anyway, how I can make the three squares that were automatically added in the older versions of Android appear?</p>
  
  <p><a href="https://i.stack.imgur.com/QqC1i.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QqC1i.png" alt="App screenshot"></a></p>
  
  <p>This is a screenshot of the application, in previous versions of android studio there were three dots at the top right corner.
  Currently they are not there and my question is how do I add the menu button. </p>
  
  <p>Edit: also while writing <code>app:showAsAction="always"</code> android studio marked all of the line red untill I wrote the "=" sign, maybe this error is related to something?
  Also maybe I missed a step while making the items/toolbar, but I do not know exactly if I missed anything.</p>