I have used vector drawable in an ImageView
in android
.
here is my code:
<ImageView
android:layout_width="320dp"
android:layout_height="320dp"
app:srcCompat="@drawable/app_logo"
android:id="@+id/titleImageView"
android:layout_alignParentTop="true"
android:layout_alignParentStart="true"
android:layout_marginTop="12dp" />
when running the app in API19
I got these error.
FATAL EXCEPTION: main
Process: com.nuvo.driver, PID: 4303
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.nuvo.driver/com.nuvo.driver.SignUp_Activity_}: android.view.InflateException: Binary XML file line #16: Error inflating class ImageButton
Thanks in advance for your time.