title: Error inflating class com.google.android.material.appbar.AppBarLayout
body: <p>I have bellow <code>xml</code>:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      android:id="@+id/drawerLayout"
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
      &lt;RelativeLayout
          android:layout_width="match_parent"
          android:layout_height="match_parent"&gt;
  
          &lt;com.google.android.material.appbar.AppBarLayout
              android:id="@+id/appBarLayout"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
              app:elevation="0dp"&gt;
              &lt;androidx.appcompat.widget.Toolbar
                  android:id="@+id/toolbarMainActivity"
                  style="@style/CustomToolbar"
                  android:background="@color/biscay"
                  app:layout_scrollFlags="scroll|enterAlways"&gt;
  
                  &lt;RelativeLayout
                      android:layout_width="match_parent"
                      android:layout_height="match_parent"&gt;
  
                      &lt;ImageButton
                          android:id="@+id/icon_drawer_imagebutton"
                          android:layout_width="wrap_content"
                          android:layout_height="wrap_content"
                          android:layout_alignParentRight="true"
                          android:layout_centerVertical="true"
                          android:background="@null"
                          android:paddingLeft="10dp"
                          android:paddingRight="10dp"
                          app:srcCompat="@drawable/ic_drawer" /&gt;
  
                      &lt;RelativeLayout
                          android:gravity="center_horizontal"
                          android:layout_width="match_parent"
                          android:layout_height="match_parent"
                       android:layout_toLeftOf="@+id/icon_drawer_imagebutton"&gt;
  
                          &lt;ImageButton
                              android:id="@+id/icon_logo_imagebutton"
                              android:layout_width="@dimen/size_logo"
                              android:layout_height="@dimen/size_logo"
                              android:layout_alignParentRight="true"
                              android:layout_centerVertical="true"
                              android:adjustViewBounds="true"
                              android:background="@null"
                              android:scaleType="fitXY"
                              app:srcCompat="@drawable/ic_logo_white" /&gt;
  
                          &lt;TextView
                              android:id="@+id/nameUniversity_textview"
                              android:layout_width="wrap_content"
                              android:layout_height="match_parent"
                              android:layout_centerHorizontal="true"
                              android:layout_centerVertical="true"
                              android:layout_marginLeft="10dp"
                              android:layout_marginRight="10dp"
                              android:textSize="18sp"
                           android:layout_toLeftOf="@+id/icon_logo_imagebutton"
                              android:gravity="center_vertical"
                              android:text="@string/nameUniversity"
                              android:textColor="@color/colorTextLight"
                              android:textStyle="bold" /&gt;
                      &lt;/RelativeLayout&gt;
                  &lt;/RelativeLayout&gt;
              &lt;/androidx.appcompat.widget.Toolbar&gt;
          &lt;/com.google.android.material.appbar.AppBarLayout&gt;
  
          &lt;com.google.android.material.tabs.TabLayout
              android:id="@+id/tabsMainActivity"
              style="@style/CustomTabLayout"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_below="@+id/appBarLayout"
              app:tabGravity="fill"
              app:tabMode="fixed" /&gt;
  
          &lt;androidx.viewpager.widget.ViewPager
              android:id="@+id/viewpagerMainActivity"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:layout_below="@+id/tabsMainActivity"
              android:background="@color/colorTextLight" /&gt;
      &lt;/RelativeLayout&gt;
      &lt;!-- Navigation Drawer--&gt;
      &lt;androidx.recyclerview.widget.RecyclerView
          android:id="@+id/drawerRecyclerView"
          android:layout_width="300dp"
          android:layout_height="match_parent"
          android:layout_gravity="right"
          android:background="@color/gallery" /&gt;
  &lt;/androidx.drawerlayout.widget.DrawerLayout&gt;
  </code></pre>
  
  <p>And my library is:</p>
  
  <pre><code>implementation 'com.android.support.constraint:constraint-layout:2.0.0-alpha2'
  implementation 'com.android.support:exifinterface:28.0.0'
  implementation 'com.android.support:appcompat-v7:28.0.0'
  implementation 'com.android.support:recyclerview-v7:28.0.0'
  implementation 'com.android.support:cardview-v7:28.0.0'
  implementation 'com.android.support:design:28.0.0'
  implementation 'com.android.support:support-vector-drawable:28.0.0'
  implementation 'com.android.support:multidex:1.0.3'
  </code></pre>
  
  <p>But get me bellow error:</p>
  
  <pre><code>Caused by: android.view.InflateException: Binary XML file line #12: Binary XML file line #12: Error inflating class com.google.android.material.appbar.AppBarLayout
  Caused by: android.view.InflateException: Binary XML file line #12: Error inflating class com.google.android.material.appbar.AppBarLayout
  Caused by: java.lang.reflect.InvocationTargetException
  </code></pre>