Android 获取ImageView中的图片

Android 获取 ImageView 中已经加载好的图片:

Bitmap bitmap = ((BitmapDrawable)imageView.getDrawable()).getBitmap();

bitmap 对象就是已经得到的图片了。

猜你喜欢

转载自blog.csdn.net/wuqingsen1/article/details/84957650