Android Question The images are grainy.

anallie0

Active Member
Licensed User
Hi

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?

Screenshot_2015-02-23-13-42-57.jpg
Screenshot_2015-02-23-13-44-51.jpg
 

anallie0

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
 

KZero

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
 

DonManfred

Expert
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:
Top