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
views:
147answers:
1
A:
Follow the steps I am mentioning below,
- take one Scroll View with Vertical Scroll
- Add one Linear Layout in it with Vertical Orientation
- 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.
- Keep the height and width of the Imageview and other Layouts as per your requirement.
- This way you will have all the images same like a PDF pages format...
Rahul Patel
2010-05-05 05:21:41