Search code examples
javaandroidlistviewheaderfooter

Android: Show listview between header and footer


I learned from android dev tutorial and now I can make ListView. and it worked perfectly fine. Now my requirement is I want to show listview with a header and footer which I have made in xml file.

Basically on the top there will be a header & footer (a text view) and then follows listview scrollable between header and footer

Can someone forward me to the appropriate tutorial.


Solution

  • Here is the tutorial links:

    http://blog.maxaller.name/2010/05/attaching-a-sticky-headerfooter-to-an-android-listview/

    http://www.vogella.de/articles/AndroidListView/article.html

    http://www.vogella.de/articles/AndroidListView/article.html#headerfooter