I am about to finish developing an Android application, but I am having difficulties in rendering the profile Fragment Layout. Basically what I have done so far is that I placed the information of the user at the top of a LinearLayout and in the bottom I have a list View with all the messages that he/she have posted so far. By doing so I am not able to scroll the LinearLayout when the ListView is been scrolled.
What I want to do is scroll the LinearLayout with all the user information, when someone scrolls the ListView (Like Facebook Profile Page).
Here is the existing XML:**
<LinearLayout>
<LinearLayout>
<!-- User information. -->
</LinearLayout>
<ListView/>
</LinearLayout>