This question has already been answered:

How to convert Bitmap to drawable?

Reported as a duplicate by members of Vladyslav Matviienko , dirkgntly , pavel , user194374, cheops Aug 3, '16 at 8:19 pm .

A similar question was asked earlier and an answer has already been received. If the answers provided are not exhaustive, please ask a new question .

  • one
    drill in the direction of BitmapDrawable and more ... This question does not reflect the desire to understand. - iFr0z

1 answer 1

 Drawable d = new BitmapDrawable(getResources(), bitmap); 

Suddenly...