leandroBorgesFerreira / LoadingButtonAndroid

A button to substitute the ProgressDialog
MIT License
1.94k stars 214 forks source link

Is it possible to use VectorDrawable instead of Bitmap? #169

Open sebasira opened 3 years ago

sebasira commented 3 years ago

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.

jankowskib commented 3 years ago

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

sebasira commented 3 years ago

I'm using Java