<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> <LinearLayout android:layout_width="match_parent" android:layout_height="50dp" android:layout_marginBottom="10dp" android:background="@color/colorPrimary"> <TextView android:id="@+id/text_view" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="15dp" android:gravity="center" android:text="Delete Person " android:textColor="#fff" android:textSize="15sp" android:textStyle="bold" /> </LinearLayout> <RelativeLayout android:layout_width="match_parent" android:layout_height="2dp" android:background="@color/colorPrimaryDark" /> <LinearLayout android:id="@+id/linearLayout1" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="10dp" android:orientation="horizontal"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" android:gravity="center" android:text="Person Name : " android:textColor="@color/colorPrimary" android:textSize="15sp" /> <TextView android:id="@+id/tv_person_name" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" android:layout_weight="1" android:gravity="center" android:text="Person Name" android:textSize="15sp" /> </LinearLayout> <LinearLayout android:id="@+id/linearLayout2" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="5dp" android:orientation="horizontal"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" android:text="Person Surname : " android:gravity="center" android:textColor="@color/colorPrimary" android:textSize="15sp" /> <TextView android:id="@+id/tv_person_surname" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" android:layout_weight="1" android:gravity="center" android:text="Person Surname" android:textSize="15sp" /> </LinearLayout> <LinearLayout android:id="@+id/linearLayout3" android:layout_width="match_parent" android:layout_marginTop="5dp" android:layout_height="wrap_content" android:orientation="horizontal"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" android:gravity="center" android:text="Person Age : " android:textColor="@color/colorPrimary" android:textSize="15sp" /> <TextView android:id="@+id/tv_person_age" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" android:layout_weight="1" android:gravity="center" android:text="Person Age" android:textSize="15sp" /> </LinearLayout> <RelativeLayout android:layout_width="match_parent" android:layout_height="2dp" android:layout_marginTop="10dp" android:background="@color/colorPrimaryDark" /> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal"> <Button android:id="@+id/no_button" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_margin="10dp" android:layout_weight="1" android:background="@color/colorPrimary" android:text="No" android:textColor="#fff" android:textSize="13sp" /> <Button android:id="@+id/yes_button" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_margin="10dp" android:layout_weight="1" android:background="@color/colorPrimary" android:text="Yes" android:textColor="#fff" android:textSize="13sp" /> </LinearLayout> </LinearLayout> </LinearLayout>