I want to use a kind of ListView
inside of a ScrollView
. The list has a variable length, it is always possible to add/remove items. Is there an easy way to modify the default Android
ListView
, oder do I have to create a custom ListView
?
1 Answer
The ListView should expand to fill as much vertical area as it needs when contained in a ScrollView so you shouldn't have a problem.
ListView
is possible to add/remove items, and it can scroll by itself. So why do you want to have a new class that does the same thing?TextView
s. Of course I can put a lot of singleTextView
inside my layout, but for me that seems not to be very practical too.