naver / android-imagecropview

android image crop library
Apache License 2.0
254 stars 55 forks source link

Image Preview is white #3

Closed eitanshta closed 9 years ago

eitanshta commented 9 years ago

When I assign a Bitmap into the ImageCropView some devices show a white background instead of the picture. Do you know something about that problem? 11281915_10205484440605297_1410677585_n

helloyako commented 9 years ago

Do some devices show picture in same source code? "layout_width" and "layout_height" of ImageCropView must be "match_parent". is right?

eitanshta commented 9 years ago

Yes. Some devices show the picture just the way it should be. I think it's a matter of image size. Today im going to check the logs in a device that fails to show the picture and they Ill know more information.

Thank you for your response.

helloyako commented 9 years ago

Oh. I see please check issue #1 imageCropView.setImageBitmap(bitmap) -> imageCropView.setImageFilePath(uri.toString())