I need add header in my listview and header should always displayed even scrolling list.
Is it possible in android list view?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The solution that works for me is to create a TableLayout that has a row with the heading and a row with the list like this:
Please make sure that the ListView has @android:id/list as the ID.