Android Toolbar Items not showing?
<p>I'm trying to create a Toolbar with the android.support.v7.widget.toolbar but when i try t add an item, it will not show on the toolbar:</p>

<p>Toolbar in activity_main.xml:</p>

<pre><code>&lt;android.support.v7.widget.Toolbar
    android:id="@+id/my_toolbar"
    android:layout_width="match_parent"
    android:layout_height="?attr/actionBarSize"
    android:background="?attr/colorPrimary"
    android:theme="@style/ThemeOverlay.AppCompat.ActionBar"
    app:popupTheme="@style/ThemeOverlay.AppCompat.Light"/&gt;
</code></pre>

<p>main_activity:
on the onCreate:</p>

<pre><code>Toolbar my_tbar = (Toolbar) findViewById(R.id.my_toolbar);
setSupportActionBar(my_tbar);
</code></pre>

<p>out of onCreate:</p>

<pre><code>@Override
public boolean onOptionsItemSelected(MenuItem item) {
    switch (item.getItemId()) {
        case R.id.refresh:
            return true;
        default:
            return super.onOptionsItemSelected(item);
    }
}
</code></pre>

<p>res/menu/main_menu.xml</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;menu
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:app="http://schemas.android.com/apk/res-auto"&gt;

  &lt;item
    android:title="RefreshButton"
    android:id="@+id/refresh"
    android:icon="@drawable/refresh_icon"
    app:showAsAction="always"
    /&gt;

&lt;/menu&gt;
</code></pre>

<p>the <code>refresh_icon</code> is created by me because in the <code>@drawable/</code>i didn't found the <code>ic_menu_refresh</code></p>

<p>Why the button is not shown?</p>

<p>Thank you</p>