Listview within a Scrollview??

moster67

Expert
Licensed User
Longtime User
I have a screen in landscape-mode with quite a lot of information and therefore I am using a scrollview.

I would like to use a listview in this scollview as well but after some quick tests, I can't really figure out how to get both of them working at the same time. When I try to scroll the listview, the scrollview scrolls instead.

Thus, I am wondering if it is possible somehow to get this working; let's say when the listview gets focus, the scrolling of the scrollview stops so only the listview scrolls. Of course I would also need to handle the re-activation of the scrolling of the scrollview once the listvies looses its focus.

Any ideas or am I out of my mind and I'd better review the layout of this screen in order to avoid using a listview?

Would be grateful for some input...
 

Philipp

Member
Licensed User
Longtime User
That' s true. Listviews are already scrollable.
You can use scrollview with textviews.

Gesendet von meinem GT-P1000 mit Tapatalk 2
 
Upvote 0
Top