title: "Error inflating class android.support.design.widget.NavigationView" on Android 4.2
body: <p>I've had multiple crash reports with the below stack trace. All are from various Samsung devices on Android 4.2. I am unable to reproduce using an emulator. Does anyone have any ideas regarding what could be causing this? </p>
  
  <p>My next release will upgrade from support library versions 23.1.1 to 23.2.1, but I don't know if that will help or not, since I cannot reproduce.</p>
  
  <p>Stack Trace:</p>
  
  <pre><code>java.lang.RuntimeException: Unable to start activity ComponentInfo{com.nsouth.myapp/com.nsouth.myapp.Activity_Main}: android.view.InflateException: Binary XML file line #35: Error inflating class android.support.design.widget.NavigationView
      at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2247)
      at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2301)
      at android.app.ActivityThread.access$700(ActivityThread.java:151)
      at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1282)
      at android.os.Handler.dispatchMessage(Handler.java:99)
      at android.os.Looper.loop(Looper.java:137)
      at android.app.ActivityThread.main(ActivityThread.java:5285)
      at java.lang.reflect.Method.invokeNative(Native Method)
      at java.lang.reflect.Method.invoke(Method.java:511)
      at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
      at dalvik.system.NativeStart.main(Native Method)
  Caused by: android.view.InflateException: Binary XML file line #35: Error inflating class android.support.design.widget.NavigationView
      at android.view.LayoutInflater.createView(LayoutInflater.java:619)
      at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:693)
      at android.view.LayoutInflater.rInflate(LayoutInflater.java:752)
      at android.view.LayoutInflater.rInflate(LayoutInflater.java:760)
      at android.view.LayoutInflater.inflate(LayoutInflater.java:495)
      at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
      at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
      at android.support.v7.app.AppCompatDelegateImplV7.setContentView(SourceFile:256)
      at android.support.v7.app.AppCompatActivity.setContentView(SourceFile:109)
      at com.nsouth.myapp.Activity_Main.onCreate(SourceFile:331)
      at android.app.Activity.performCreate(Activity.java:5284)
      at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1097)
      at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2211)
      ... 11 more
  Caused by: java.lang.reflect.InvocationTargetException
      at java.lang.reflect.Constructor.constructNative(Native Method)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
      at android.view.LayoutInflater.createView(LayoutInflater.java:593)
      ... 23 more
  Caused by: java.lang.NoClassDefFoundError: android.support.design.internal.a
      at android.support.design.widget.NavigationView.&lt;init&gt;(SourceFile:103)
      at android.support.design.widget.NavigationView.&lt;init&gt;(SourceFile:94)
      ... 26 more
  </code></pre>
  
  <p>Main Layout  </p>
  
  <pre><code>&lt;LinearLayout 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="match_parent"
      android:orientation="vertical"&gt;
  
      &lt;!-- To show drawer over toolbar, move this down to right above frameLayout --&gt;
  
      &lt;include
          android:id="@+id/app_bar"
          layout="@layout/app_bar" /&gt;
  
      &lt;android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
          xmlns:tools="http://schemas.android.com/tools"
          android:id="@+id/drawer_layout"
          android:layout_width="match_parent"
          android:layout_height="match_parent"&gt;
  
          &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
              xmlns:tools="http://schemas.android.com/tools"
              android:id="@+id/content_layout"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:background="@color/bg_offwhite"&gt;
  
              &lt;FrameLayout
                  android:id="@+id/main_frag_container"
                  android:layout_width="match_parent"
                  android:layout_height="match_parent"
                  tools:context="com.NsouthProductions.gradetrackerpro.Activity_Main"
                  tools:ignore="MergeRootFrame" /&gt;
  
          &lt;/RelativeLayout&gt;
  
          &lt;android.support.design.widget.NavigationView
              android:id="@+id/navigation_view"
              android:layout_width="290dp"
              android:layout_height="match_parent"
              android:layout_gravity="left"
              android:theme="@style/MyNavViewTheme"
              app:headerLayout="@layout/nav_drawer_header"
              app:menu="@menu/nav_drawer_menu" /&gt;
  
      &lt;/android.support.v4.widget.DrawerLayout&gt;
  
      &lt;android.support.design.widget.CoordinatorLayout
          android:layout_width="match_parent"
          android:layout_height="80dp"
          android:layout_marginTop="-80dp"
          android:id="@+id/snackbarPosition"&gt;
      &lt;/android.support.design.widget.CoordinatorLayout&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>Styles </p>
  
  <pre><code>&lt;style name="MyNavViewTheme" parent="AppTheme.Base"&gt;
          &lt;item name="colorControlHighlight"&gt;#eeeeee&lt;/item&gt;
      &lt;/style&gt;
  
  &lt;style name="AppTheme.Base" parent="Theme.AppCompat.Light.NoActionBar"&gt;
          &lt;item name="colorPrimary"&gt;@color/primary&lt;/item&gt;
          &lt;item name="colorPrimaryDark"&gt;@color/primary_dark&lt;/item&gt;
          &lt;item name="colorAccent"&gt;@color/accent&lt;/item&gt;
          &lt;item name="android:textColorPrimary"&gt;@color/primary_text&lt;/item&gt;
          &lt;item name="android:textColorSecondary"&gt;@color/secondary_text&lt;/item&gt; &lt;!-- these 2 might need android prefix? --&gt;
          &lt;item name="android:divider"&gt;@color/divider&lt;/item&gt;
          &lt;item name="android:windowBackground"&gt;@android:color/white&lt;/item&gt;
      &lt;/style&gt;
  </code></pre>
  
  <p>Gradle dependencies </p>
  
  <pre><code>compile 'com.android.support:support-v4:23.1.1'
  compile 'com.android.support:appcompat-v7:23.1.1'
  compile 'com.android.support:design:23.1.1'
  </code></pre>