title: Getting a Inflation Exception in android studios
body: <p>So I'm trying to make a toolbar for one of my activities, so I made the layout and tried to include it but I keep getting this exception <code>android.view.InflateException: Binary XML file line #9: You must specify a layout in the include tag: &lt;include layout="@layout/layoutID" /&gt;</code> if anyone has any idea what's wrong, I would be very appreciative.</p>
  
  <p>My UML for the activity is </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      tools:context=".HelpScreen"&gt;
  
      &lt;include
          android:id="@+id/tbar"
          android:layout="@layout/help_toolbar"/&gt;
  
      &lt;TextView
          android:id="@+id/textView"
          android:layout_width="363dp"
          android:layout_height="648dp"
          android:fontFamily="cursive"
          android:layout_centerHorizontal="true"
          android:layout_alignParentBottom="true"
          android:padding="10dp"
          android:text="@string/firstParagraph"
          app:layout_constraintBottom_toBottomOf="parent"
          app:layout_constraintEnd_toEndOf="parent"
          app:layout_constraintHorizontal_bias="0.488"
          app:layout_constraintStart_toStartOf="parent"
          app:layout_constraintTop_toTopOf="parent"
          app:layout_constraintVertical_bias="0.868" /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>and my layout is</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;androidx.appcompat.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:background="#fff"
      android:elevation="4dp"&gt;
  
  &lt;/androidx.appcompat.widget.Toolbar&gt;
  </code></pre>
  
  <p>Thanks in advance.</p>