I have a LinearLayout with a nested list that looks like this:
<LinearLayout ... >
<LinearLayout>
</LinearLayout>
<ListView>
</ListView>
</LinearLayout>
The problem is that listview owns the scrollbar (so that only the content in listview scrolls), but I really want the parent LinearLayout to own the scrollbar (so that all the content scrolls).
Wrapping the parent ListView in ScrollView was not successful because ScrollView does not recognize the height of the ListView (which looks like it is displayed at run time)
thank
Edit: SOLVED My ideal solution was to use the MergeAdapter as advised by Barak
source
share