title: Issues using setSupportActionBar() + android.support.v7.widget.Toolbar
body: <p>I have experiencing some issues using the android.support.v7.widget.Toolbar and have been pulling my hair out for several days trying to get this working.  </p>
  
  <p>Specifically, I cannot modify the title or load menu items into the app/action bar.</p>
  
  <p>Any help that you can provide would be most appreciated!  Otherwise, I am going to chunk all of this and try to build a custom application toolbar with dedicated text icons.  If this is the right approach, let me know!  Thanks!</p>
  
  <p>I believe that I building the toolbar correctly, but when I attempt to update the title, nothing happens.  Furthermore, no menus are loaded via onOptionsItemSelected().  In fact, onOptionsItemSelected is not even called.</p>
  
  <ol>
  <li>compileSdkVersion 25</li>
  <li>buildToolsVersion '25.0.3'</li>
  <li>minSdkVersion 21</li>
  <li>targetSdkVersion 25</li>
  </ol>
  
  <p>Interestingly enough, if I place the same setSupportActionBar() related code into the onOptionsItemSelected() method, it works.  Of course, that assumes that you have menu key to hit, since I have not seen how to call onOptionsItemSelected() on some handsets without a menu key.</p>
  
  <p>I have tested it using both the emulated Nexus 6 API 25 built-into Android Studio and a Samsung Galaxy S6 API 22 via Genymotion.</p>
  
  <p>Same results.</p>
  
  <p><strong>toolbar_main.xml</strong></p>
  
  <pre><code>android.support.v7.widget.Toolbar
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="?attr/actionBarSize"
    android:minHeight="?attr/actionBarSize"
    android:background="?attr/colorPrimary"
    android:titleTextColor="@color/White"
    android:elevation="4dp"
    android:theme="@style/ThemeOverlay.AppCompat.ActionBar"
    app:popupTheme="@style/ThemeOverlay.AppCompat"
    app:titleTextAppearance="@style/Toolbar.TitleText"
    app:layout_collapseMode="pin"&gt;
  </code></pre>
  
  <p><strong>activity_main.xml</strong></p>
  
  <pre><code>    &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
                xmlns:tools="http://schemas.android.com/tools"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:fitsSystemWindows="true"
                android:background="@color/Black"
                android:orientation="vertical"&gt;
  
     &lt;include
           android:id="@+id/main_custom_toolbar"
           layout="@layout/toolbar_main"/&gt;
  
     &lt;TextView
           android:id="@+id/test_header"
           android:layout_width="match_parent"
           android:layout_height="wrap_content"
           android:background="@color/Black"
           android:layout_marginTop="15sp"
           android:gravity="center"
           android:text="HoneyDo Tasks"
           android:textColor="@color/Yellow"
           android:textSize="30dp"
           android:textStyle="bold"&gt;
     &lt;/TextView&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p><strong>MainActivity.java</strong></p>
  
  <pre><code>  @Override
     protected void onCreate(Bundle savedInstanceState)
     {
        super.onCreate(savedInstanceState);
  
        setContentView(R.layout.activity_main);
  
        Toolbar toolbar = (Toolbar) findViewById(R.id.main_custom_toolbar);
        setSupportActionBar(toolbar);
        getSupportActionBar().setTitle("New Title");
     }
  
  
     @Override
     public boolean onCreateOptionsMenu(Menu menu)
     {
        getMenuInflater().inflate(R.menu.menu_main, menu);
        return super.onCreateOptionsMenu(menu);
     }
  </code></pre>