Bitmap转Drawable

Drawable drawable = new BitmapDrawable(bitmap);  

或者

BitmapDrawable bdnew BitmapDrawable(getResource(), bm);      


猜你喜欢

转载自blog.csdn.net/noige/article/details/80063329