Android Question The images are grainy.


Active Member
Licensed User

I have a problem I can not solve and that it never happened.
When I open an app, where load two png images in a scrollview, they see perfectly.
If I close and reopen, the opening time is very long and the images are grainy.
In the scroll view the images load only the first time the opening of Activity.
It happens even in images inserted directly as a background of a panel or inside a imageview.

Does anyone know what can be the reason?



Active Member
Licensed User
there are not error in to logs
sometimes appears:
Downsampling image two to lack of memory.

I have an image in the panel of 2000x3000 pixels
in the scroll two images of 700x400 pixels


Active Member
Licensed User
it will be much better if you made panel with 2 labels and imageview inside it
fill the labels with the text in this image and put the small gears shape in the imageview
then put this panel in the scrollview


Licensed User
You can also consider to use the HTMLTextview library i recently released.

You also can wait a few days. This week i will (probably) release a wrapper for this library.

btw: It´s the one i used in Chit-chat-thread about 1000 Imageviews in one Activity.
Last edited: