BitmapDrawable mDrawable = (BitmapDrawable) imageView.getDrawable();
Bitmap mBitmap = mDrawable.getBitmap();
Bitmap mBitmap = mDrawable.getBitmap();
本文详细介绍了如何从ImageView中获取BitmapDrawable实例,并从中提取Bitmap对象,适用于Android开发场景。
448

被折叠的 条评论
为什么被折叠?