Android Question The images are grainy.

anallie0

Active Member
Licensed User
Longtime 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
Longtime 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
 
Upvote 0

KZero

Active Member
Licensed User
Longtime 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
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime 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:
Upvote 0
Top