fresco icon indicating copy to clipboard operation
fresco copied to clipboard

Request to support VectorDrawable

Open FragShawn opened this issue 10 years ago • 3 comments

Android API 21 and above supports Vector Drawables I would like to use Fresco for switching between regular PNG and a VectorDrawable without having to use another class. This will allow android apks to be smaller. It also allows build tools to to generate PNGs automatically if an android app is on a device older than API 21.

FragShawn avatar Dec 22 '15 19:12 FragShawn

If you want to use VectorDrawable then I think you're best just creating it yourself and then setting it to be the placeholder image, and do not set an actual image.

IanChilds avatar Dec 24 '15 14:12 IanChilds

So the issue is that I've made a VectorDrawable as a place holder image, and it doesn't show up on any device.

FragShawn avatar Dec 28 '15 17:12 FragShawn

See also #1176

oprisnik avatar May 19 '16 14:05 oprisnik