I have the following TabLayout in my activity which works fine on Nougat, Marshmallow, and Lollipop, but throws an exception on Jelly Bean and KitKat. Any ideas? This has become beyond frustrating.
<android.support.design.widget.TabLayout
p1:minWidth="25px"
p1:minHeight="25px"
p1:layout_width="match_parent"
p1:layout_height="wrap_content"
p1:id="@+id/notificationTypes"
p1:theme="@style/Theme.AppCompat.Light" />
Android.Views.InflateException: Binary XML file line #1: Error inflating class android.support.design.widget.TabLayout ---> Java.Lang.Reflect.InvocationTargetException: Exception of type 'Java.Lang.Reflect.InvocationTargetException' was thrown. ---> Java.Lang.IllegalArgumentException: You need to use a Theme.AppCompat theme (or descendant) with the design library.