Issue
How can I convert a Bitmap image to Drawable ?
Solution
Sounds like you want to use BitmapDrawable
From the documentation:
A
Drawablethat wraps a bitmap and can be tiled, stretched, or aligned. You can create aBitmapDrawablefrom a file path, an input stream, through XML inflation, or from aBitmapobject.
Answered By - Graeme Duncan
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.