转换Bitmap to Drawable
- Bitmap bitmap = new Bitmap (...);
- Drawable drawable = new BitmapDrawable(bitmap);
转换Drawable to Bitmap
- Drawable d = ImagesList.get(0);
- Bitmap bitmap = ((BitmapDrawable)d).getBitmap();
posted on
2011-03-03 17:18
晓光
阅读(2141)
评论()
收藏
举报