Sandeep V
Sandeep V

Reputation: 463

Code for how to make an image gallery in android

i am new to android and i dont know how to code image gallery.

i have been given many images and i have to build an image gallery for an app which i am developing how to build an app i have saved all the images onto drawable-hdpi folder

now i have created one xml file in which there is a button as image gallery when i click this image it has to go to other xml file and display the first image then if i swipe all the images one by one has to populate such that i can swipe all the images

enter image description here

pls write the code below such that i can swipe all the images which are in drawable folder and also the xml file what i have to modify

rajshree sister and androidgeek waiting for u both pls help me

Upvotes: 0

Views: 170

Answers (1)

Shriram
Shriram

Reputation: 4411

refer the link http://www.mkyong.com/android/android-gridview-example/ and search for gridview examples.

Upvotes: 1

Related Questions