I want to set some vectorDrawables to a ImageView in Android Studio.
I can set png and jpg drawable easily but when i want to set V
For those who want to load a vector drawable programmatically for other uses, such as setting a drawableLeft or otherwise, you can use:
Drawable drawable = AppCompatResources.getDrawable(context, drawableRes);
where the context is a AppCompatActivity.