tags:

views:

1413

answers:

1

how can i convert a Bitmap image to Drawable.

Thanks, Farha

+4  A: 

Sounds like you want to use BitmapDrawable

From the documentation:

A Drawable that wraps a bitmap and can be tiled, stretched, or aligned. You can create a BitmapDrawable from a file path, an input stream, through XML inflation, or from a Bitmap object.

Jack Patmos