<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent"> <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical" > <TextView android:id="@+id/conversations_header" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Active Conversations" style="@style/sectionHeader" android:paddingLeft="8dp" android:paddingTop="8dp" android:paddingRight="8dp"/> <LinearLayout android:id="@+id/conversations" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical" android:divider="?android:dividerHorizontal" android:showDividers="middle" > </LinearLayout> <TextView android:id="@+id/contacts_header" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Contacts" style="@style/sectionHeader" android:paddingLeft="8dp" android:paddingTop="8dp" android:paddingRight="8dp"/> <LinearLayout android:id="@+id/contacts" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical" android:divider="?android:dividerHorizontal" android:showDividers="middle" > </LinearLayout> </LinearLayout> </ScrollView>