title: android.widget.Toolbar cannot be converted to android.support.v7.widget.Toolbar
body: <p>I have a toolbar.xml:</p>
  
  <pre><code>&lt;android.support.v7.widget.Toolbar
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  android:background="@color/color_primary"
  android:elevation="4dp"
  android:theme="@style/ThemeOverlay.AppCompat.Dark" /&gt;
  </code></pre>
  
  <p>I have an include tag to another of my activity layouts:</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:orientation="vertical" android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:theme="@style/AppTheme"&gt;
  
  &lt;include
      layout="@layout/toolbar"
      android:id="@+id/tb"&gt;
  &lt;/include&gt;
  
  &lt;android.support.v7.widget.RecyclerView
      android:id="@+id/grade_list"
      android:scrollbars="vertical"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:background="#FFFFFF" /&gt;
  </code></pre>
  
  <p>
  And I have it implemented in my activity which extends AppCompatActivity:</p>
  
  <pre><code>Toolbar toolbar;
      toolbar = (Toolbar)findViewById(R.id.tb);
      setSupportActionBar(toolbar);
  </code></pre>
  
  <p>However, I am getting the following error when I run my app:</p>
  
  <pre><code>Error:(26, 29) error: incompatible types: android.widget.Toolbar cannot be converted to android.support.v7.widget.Toolbar
  </code></pre>
  
  <p>Furthermore, when I view my layout in the editor, I receive the following message:</p>
  
  <pre><code>Missing styles. Is the correct theme chosen for this layout?
  Use the theme combo box above the layout to choose a different layout, or to fix the theme style references.
  Failed to find style 'toolbarStyle' in current layout.
  </code></pre>
  
  <p>And my styles.xml:</p>
  
  <pre><code>&lt;resources&gt;
  &lt;style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar"&gt;
      &lt;item name="colorPrimary"&gt;@color/color_primary&lt;/item&gt;
      &lt;item name="colorPrimaryDark"&gt;@color/color_primaryDark&lt;/item&gt;
      &lt;item name="colorAccent"&gt;@color/color_accent&lt;/item&gt;
      &lt;item name="colorControlNormal"&gt;@color/color_accent&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p></p>
  
  <p>I don't see where I am going wrong. The correct theme is selected in the editor and my manifest file. All help is appreciated as always!</p>