Tuesday, 10 September 2013

Android fullscreen image gallery with images from web

Android fullscreen image gallery with images from web

I'm trying to implement a fullscreen image gallery on Android. I have a
couple of URLs where the images are located and would like them to be
shown (=downloaded asynchronously) one after another, while each image
covers the full screen. By swiping right or left, the next or previous
image should be shown. It's very important that the images are getting
loaded in the background, so the user doesn't have to wait everytime he
scrolls to the next picture.
I have already implemented something like that, but for some reason it's
kinda faulty on Android >4.0. After scrolling, the images suddenly get
cropped to a very narrow strip. I have been using the Android Gallery
widget inside a LinearLayout.
Maybe someone of you guys has a link to a good tutorial or can point me
into the right direction.
Thanks in advance.

No comments:

Post a Comment