LoadingButtonAndroid icon indicating copy to clipboard operation
LoadingButtonAndroid copied to clipboard

Is it possible to use VectorDrawable instead of Bitmap?

Open sebasira opened this issue 4 years ago • 2 comments

I want to use vector drawables instead of images for the DONE and REVERT images, but I'm not able to make it. Also try to convert VectorDrawable to Bitmap with no luck.

sebasira avatar Oct 21 '20 03:10 sebasira

If you use Kotlin try ContextCompat.getDrawable(context, R.drawable.vector).toBitmap()

jankowskib avatar Dec 01 '20 11:12 jankowskib

I'm using Java

sebasira avatar Dec 01 '20 11:12 sebasira