i have a layout whose starting tag(parent tag is ) is
I found one more solution to get rid of this scrolling problem. Actually using listview in scrollview sometimes might create problems.
We could remove this scrollview and just take one listview. Now create three layout first main layout with listview (which we want to show above list), second for header and third for footer (which we are to show below list) and finally add header and footer in list. This will add header and footer as a list item.
Note: This solution is for small list like 2 or 3 items in list.