How can I show list of Images in vertical scroll view?
I have a list of images like this
public Integer[] mImageIdsen = {
R.drawable.small,
R.drawable.small,
开发者_Go百科 R.drawable.small,
R.drawable.small,
R.drawable.small,
R.drawable.small};
and I want to show it in a linear vertical layout which is in a scrollview. How can I assign this images to the vertical scroll list? I can't put the xml code.
Apply scroll for parent layout in which u want to add your images vertically.
Custom list view is the best solution for the same. Override getview and add the images within it.
You could use Gallery
to display these. It's horizontal scrollable
精彩评论