Android Question Where is the routine "BitmapToBitmapDrawable"

JohnC

Expert
Licensed User
Longtime User
I keep seeing this routine in some posts, but I am unable to figure out where I can get a copy of the code for it:
B4X:
BitmapToBitmapDrawable(LoadBitmap(File.DirAssets, "test.png"))
Does anyone know where this routine is?
 

Roycefer

Well-Known Member
Licensed User
Longtime User
You can make your own in a few lines. A BitmapDrawable can be initialized with a Bitmap as the parameter.
 
Upvote 0
Top