phongvan phongvan - 25 days ago 8
iOS Question

Load a very large Image in android

Assumes I have a picture, it very large images or other sets of content where you are only looking at small bits at a time, because you can start seeing your content without having to load it all into memory at once.

In iOs we can use CATiledLayer to repeatedly draw tiles to fill up view’s background

In Android I can see Google Map, It also load each part of map when you scroll but I don't understand what is solution of them.

I want know what is the solution same CATiledLayer in Android or other to load very large Image

Answer Source

you can actually scale down the bitmap according to the size of the image view.

Don't give wrap_content in width and height try to give a relative width and height. use


get the size and load according to it see this link