@Nullable static fun create(@NonNull res: Resources, @DrawableRes resId: int, @Nullable theme: Theme): VectorDrawableCompat
Create a VectorDrawableCompat object.
res
- Resources: the resources.
resId
- int: the resource ID for VectorDrawableCompat object.
theme
- Theme: the theme of this vector drawable, it can be null.
Return
VectorDrawableCompat: a new VectorDrawableCompat or null if parsing error is found.