views:

147

answers:

1

i want to display images on android screen.and the images should be scrolled in vertical way.how should i do the coding?pls help me

A: 

Follow the steps I am mentioning below,

  1. take one Scroll View with Vertical Scroll
  2. Add one Linear Layout in it with Vertical Orientation
  3. Now, What you have to do is, Programatically in your code retrieve the images one by one and add the ImageView in the Linear Layout and assign the Image to that ImageView.
  4. Keep the height and width of the Imageview and other Layouts as per your requirement.
  5. This way you will have all the images same like a PDF pages format...
Rahul Patel