<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent"> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="left" android:layout_margin="8dp" android:orientation="horizontal"> <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="left" android:orientation="vertical"> <TextView android:id="@+id/person_first_name" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="" android:textStyle="bold" /> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/first_name_person" android:textAppearance="@style/TextAppearance.AppCompat.Small" android:textSize="11sp" /> </LinearLayout> </RelativeLayout> <View android:layout_width="wrap_content" android:layout_height="1dp" android:background="#cccccc" /> <RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="left" android:layout_margin="8dp" android:orientation="horizontal"> <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="left" android:orientation="vertical"> <TextView android:id="@+id/person_last_name" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="" android:textStyle="bold" /> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/last_name_person" android:textAppearance="@style/TextAppearance.AppCompat.Small" android:textSize="11sp" /> </LinearLayout> </RelativeLayout> <View android:layout_width="wrap_content" android:layout_height="1dp" android:background="#cccccc" /> <RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="left" android:layout_margin="8dp" android:orientation="horizontal"> <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="left" android:orientation="vertical"> <TextView android:id="@+id/person_gender" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="" android:textStyle="bold" /> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/gender_person" android:textAppearance="@style/TextAppearance.AppCompat.Small" android:textSize="11sp" /> </LinearLayout> </RelativeLayout> <View android:layout_width="wrap_content" android:layout_height="1dp" android:background="#cccccc" /> <ExpandableListView android:id="@+id/expandable_list" android:indicatorLeft="?android:attr/expandableListPreferredItemIndicatorLeft" android:layout_width="match_parent" android:layout_height="wrap_content"/> </LinearLayout> </RelativeLayout>