建议使用 imageView.setImageBitmap(bmp);
因为imageView.setImageUri(uri)中imageView中的图片的density = 160;
主要原因是:ImageView中的Drawable(imageView.getDrawable())是一个BitmapDrawable。
在setImageUri中,从uri取得的Bitmap封装到BitmapDrawable中没有使用当前设备的density,而是默认的density = 160,造成图片被收缩。
参见:http://blog.csdn.net/jason_wks/article/details/8283224
所以,可以从uri中先取得Bitmap再setImageBitmap();
Bitmap bmp = MediaStore.Images.Media.getBitmap(context.getContentResolver(), Uri.fromFile(file));
mImageView.setImageBitmap(bmp);