android.view.InflateException: Binary XML file line #21 in code example
Example: Caused by: android.view.InflateException: Binary XML file line
Replace in your .xml
app:srcCompat="@drawable/ic_demo"
with
android:src="@drawable/ic_demo"
Replace in your .xml
app:srcCompat="@drawable/ic_demo"
with
android:src="@drawable/ic_demo"