You must set the list height for the fix value. If your content is dynamic, there is a good function for measuring the actual list after the adapter reboots:
public static void setListViewHeightBasedOnChildren(ListView listView) { ListAdapter listAdapter = listView.getAdapter(); if (listAdapter == null) {
you must call this static method with your list as a parameter after configuring your adapter. Now you can add scrollview (inside - your list and other views). I would say that this behavior in 2.3.3 used to be a small mistake ... there is no easy way to include a list in the scroll, except as I described. For this reason, they introduced OVERSCROLL_NEVER :)
Code from DougW!
source share