ITeye博客

mapeijie888的博客

mapeijie888 · 共 1 篇文章

android Bitmap Drawable bitByte[] 互相转换

转换Bitmap to Drawable BitmapDrawable bitmapDrawable = (BitmapDrawable)bitmap; Drawable drawable = (Drawable)bitmapDrawable; Bitmap bitmap = new Bitmap (...); Drawable drawable = new BitmapDrawable(bitmap); 转换Drawable to Bitmap Drawable d = ImagesList.get(0); Bitmap bitmap = ((BitmapDrawable)d).getBi…

2011-06-22T15:04:21Z · 移动开发 · 评论(0)