Problem in showing multiple images in ImageView object

by Md.Fazla Rabbi OPU » Fri, 20 May 2011 09:50:38 GMT


Sponsored Links
 Hi,

I am new in Android. I made a small project with two button ("next"
and "previous") and a ImageView object. In the res/drawable folder i
have some images. I store this images in an Array object. Now i want
to show the images which is come from the Array object one by one when
the next button is pressed. Same event will be occured when the
previous button is clicked. How can i do this.

Plz anyone help me.

Thanks in Advance

Md.Fazla Rabbi Opu

-- 



Re: Problem in showing multiple images in ImageView object

by Saurav » Fri, 20 May 2011 12:28:21 GMT


 Use a Gallery, or an ImageSwitcher.




Regards,
Saurav Mukherjee.


On Thu, May 19, 2011 at 10:37 AM, Md.Fazla Rabbi OPU <




-- 


Sponsored Links


Other Threads

1. How to add the animated GIF file as an UI element to android application?

Hi All,

   I want to add an animated GIF file as an UI element to the android
UI application.  Note that the GIF should be shown as animation but
not static image in the UI.

   Do you know how to do that?

   Thanks a lot!

Mingsky


--~--~---------~--~----~------------~-------~--~----~

2. How to start android emulator in landscape mode?

I find this thread about switching to landscape mode:

3. How to change font type say "Arial" of a TextView via xml layout properties...

4. Bug with alpha channel in sdk 1.5

5. The GIMP cannot digest the standard widget frames

6. embedded activities within Android 1.5

7. Positioning a view below another one inside a RelativeLayout via code