Can i give two layouts for a single activity?? If yes, then how can i join them?? First layout should contain heading and the other one will be used in list adapter and repeated for every item in the list..
Thanks
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.
I believe what you want to do is to have an activity layout containing the header and the list view. And on the other side, a row layout that will be used by a custom adapter for your list view.
Here is a short tutorial covering what you want to acheive: custom-listview-items-and-adapters