Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • It won't work when list-items are of variable sizes, i.e. some textview that expand over multiple lines. Any solution? Commented Apr 26, 2014 at 18:13
  • Check my comment here - it gives the perfect solution - stackoverflow.com/a/23315696/1433187 Commented Apr 26, 2014 at 19:44
  • worked for me with API 19, but not with API 23: Here it adds much white space below the listView. Commented Jul 26, 2016 at 18:24