Thursday, 15 January 2015

imageview - How to display big image in Android -


I see in this app: sometimes it shows a bigger image with height than 2048 px, such as: (OK 400x2645px, but its size is small - 211 kb).

But when I make a demo to show this image, I always get the exception to "Bigmat to upload a text in a big" exception.

I 'I'm sure there is a way to show this image, because in the above app, this is possible.

Can someone suggest how I can portray it?

I will greatly appreciate.

Turn off hardware acceleration.

Activity from either AndroidManifest.xml:

  & lt; Activity ... /> & Lt; Activity Android: Hardware Expected = "False" />   

Or look at image display:

  yourView.setLayerType (see PLAYER_LAYER_TE_SOFTWARE, null);    

No comments:

Post a Comment