java - how to make a page with a lot of images? (android, eclipse) -
I want to create a layout that contains a lot of image buttons but when it has more than 7 images, And the stops are working, so I wanted to know how to create a layout with a lot of image buttons.
I already tried to increase the 8 SBS version but nothing changed
My wild guess is that your app is exiting memory (outoffempted my error is thrown)
Just insert your app did not provide enough RAM to show several images at once Gaya.
I would recommend saving your images again before showing them on the screen, e.g.
Do not forget that your app is likely to be ANR if you decode multiple pictures on the main thread, then I recommend that you do this by loading downsmalling them for Android's BitMap Factory. Implement an asynchronous strategy to load images. To do this, use loaders or async Tasks.
Good luck!
Comments
Post a Comment