0

I'm doing an android app, and I just want to have an scrollable layout, but inside of this layout I want to put some textView and 2 listView, and this is my problem, the listView.

I need to include this 2 listview on the layout and this is obligatory need to be scrollable, and I googling and all I found is negative.

how can I put 2 listview on scrollView?? is not possible? and if its right what can i do? Which is the alternative that I have? I really desesperated because I spend all day!!

con someone say me an example of this?

really thanks!

1 Answers1

2

ListViews shouldn't be placed inside a ScrollView because the ListView class implements its own scrolling and it just doesn't receive gestures because they all get handled by the parent ScrollView. However you can add views you want to be scrolled to the ListView as headers or footers.

Misha Bhardwaj
  • 1,377
  • 10
  • 14