A HorizontalScrollView is a FrameLayout, meaning you should place one child in it containing the entire contents to scroll; this child may itself be a layout manager with a complex hierarchy of objects.
sameera liyanage wrote:2)can we use list view inside HorizontalScrollView?
Yes. Make sure the two (scroll and list) scroll in different directions, otherwise it gets confusing as to which is moving. Also, to see the horizontal scroll view, you will need to make the elements in the list view wider than the screen.
My guess is you want something else. Can you explain exactly what you want to do?
posted 5 years ago
I need to show data with colums and rows.there are several columns and several rows.So my screen is not enough for to show all this data .So i need to have horizontal scroll view.anyway below is my list view without scrollview.
anyway i have 7 colums and 18 rows exacly.Also i have header column.can i use gridview to archive this.I mean if i use gridview can i archive scrollview also.because ithere are 7 colums and 18 rows it doesn't show all data in one screnn.