tags:

views:

41

answers:

1

I have a number of images in drawable folder. I want to show images randomly from drawable. Please anyone provide me with an example.

Thanks.

+1  A: 

Put you image IDs in an int array and then generate a random number between 0 and length - 1

schwiz