convert bitmap to drawable code example
Example: get bitmap from drawable
Bitmap icon = BitmapFactory.decodeResource(context.getResources(),
R.drawable.icon_resource);
Bitmap icon = BitmapFactory.decodeResource(context.getResources(),
R.drawable.icon_resource);