ImageView Drawable Crash On Vector Source
May 13, 2019
I had a problem where the the vector assigned to an ImageView and it crashed on an odder device.
Problem
The problem is the vector is assigned to the android:background or android:src. Because the old system api level is not compatible with the vector source.
Solution
Assign the vector drawable resource to app:srcCompat.
1 | <ImageView |
