<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical">


    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_margin="@dimen/dp_10"
        android:background="@drawable/shape_round_white"
        android:orientation="vertical">

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:padding="@dimen/dp_10"
            android:text="@string/base_info"
            android:textColor="@color/black"
            android:textSize="@dimen/dp_18" />

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingLeft="@dimen/dp_10"
            android:paddingTop="@dimen/dp_10"
            android:paddingRight="@dimen/dp_10"
            android:paddingBottom="@dimen/dp_10">

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerVertical="true"
                android:drawablePadding="@dimen/dp_10"
                android:ellipsize="end"
                android:text="@string/head_portrait"
                android:textColor="@color/col_455"
                android:textSize="@dimen/dp_16" />

            <de.hdodenhof.circleimageview.CircleImageView
                android:id="@+id/mImage"
                android:layout_width="@dimen/dp_60"
                android:layout_height="@dimen/dp_60"
                android:layout_alignParentRight="true"
                android:src="@mipmap/ic_default_man" />

        </RelativeLayout>

        <View
            android:layout_width="match_parent"
            android:layout_height="1dp"
            android:layout_marginLeft="@dimen/dp_10"
            android:layout_marginRight="@dimen/dp_10"
            android:background="@color/col_f1f" />


        <RelativeLayout
            android:id="@+id/mRelName"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingRight="@dimen/dp_10">


            <TextView
                android:id="@+id/m1"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerVertical="true"
                android:drawablePadding="@dimen/dp_10"
                android:ellipsize="end"
                android:paddingLeft="@dimen/dp_10"
                android:paddingTop="@dimen/dp_15"
                android:paddingBottom="@dimen/dp_15"
                android:singleLine="true"
                android:text="@string/name"
                android:textColor="@color/col_455"
                android:textSize="@dimen/dp_16" />

            <EditText
                android:id="@+id/mName"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_alignParentRight="true"
                android:layout_centerVertical="true"
                android:layout_toRightOf="@+id/m1"
                android:background="@null"
                android:gravity="center|right"
                android:paddingTop="@dimen/dp_15"
                android:paddingBottom="@dimen/dp_15"
                android:singleLine="true"
                android:textColor="@color/col_455"
                android:textSize="@dimen/dp_16"
                tools:text="asdasdasda" />
        </RelativeLayout>

        <View
            android:layout_width="match_parent"
            android:layout_height="1dp"
            android:layout_marginLeft="@dimen/dp_10"
            android:layout_marginRight="@dimen/dp_10"
            android:background="@color/col_f1f" />

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="horizontal"
            android:paddingRight="@dimen/dp_10">


            <TextView

                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_centerVertical="true"
                android:layout_weight="1"
                android:drawablePadding="@dimen/dp_10"
                android:ellipsize="end"
                android:paddingLeft="@dimen/dp_10"
                android:paddingTop="@dimen/dp_15"
                android:paddingBottom="@dimen/dp_15"
                android:singleLine="true"
                android:text="@string/sex"
                android:textColor="@color/col_455"
                android:textSize="@dimen/sp_14" />

            <RadioGroup
                android:id="@+id/mGroup"
                android:layout_width="0dp"
                android:layout_height="match_parent"
                android:layout_alignParentRight="true"
                android:layout_centerVertical="true"
                android:layout_gravity="center"
                android:layout_marginTop="@dimen/dp_8"
                android:layout_marginBottom="@dimen/dp_8"
                android:layout_weight="1"
                android:background="@drawable/shape_radio_group_bg"
                android:orientation="horizontal">

                <RadioButton
                    android:id="@+id/mMale"
                    android:layout_width="0dp"
                    android:layout_height="match_parent"
                    android:layout_weight="1"
                    android:background="@drawable/selector_check_sex"
                    android:button="@null"
                    android:checked="true"
                    android:drawableLeft="@drawable/selector_male"
                    android:gravity="center"
                    android:paddingLeft="@dimen/dp_10"
                    android:text="@string/male"
                    android:textColor="@color/color_check_sex" />

                <RadioButton
                    android:id="@+id/mGirl"
                    android:layout_width="0dp"
                    android:layout_height="match_parent"
                    android:layout_weight="1"
                    android:background="@drawable/selector_check_sex"
                    android:button="@null"

                    android:drawableLeft="@drawable/selector_girl"
                    android:gravity="center"
                    android:paddingLeft="@dimen/dp_10"
                    android:text="@string/girl"
                    android:textColor="@color/color_check_sex" />
            </RadioGroup>
        </LinearLayout>


        <View
            android:layout_width="match_parent"
            android:layout_height="1dp"
            android:layout_marginLeft="@dimen/dp_10"
            android:layout_marginRight="@dimen/dp_10"
            android:background="@color/col_f1f" />

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingRight="@dimen/dp_10">


            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerVertical="true"
                android:drawablePadding="@dimen/dp_10"
                android:ellipsize="end"
                android:paddingLeft="@dimen/dp_10"
                android:paddingTop="@dimen/dp_15"
                android:paddingBottom="@dimen/dp_15"
                android:singleLine="true"
                android:text="@string/phone_call"
                android:textColor="@color/col_455"
                android:textSize="@dimen/sp_14" />

            <TextView
                android:id="@+id/mPhone"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_alignParentRight="true"
                android:layout_centerVertical="true"
                android:background="@null"
                android:gravity="center|right"
                android:paddingTop="@dimen/dp_15"
                android:paddingBottom="@dimen/dp_15"
                android:singleLine="true"
                android:textColor="@color/col_455"
                android:textSize="@dimen/dp_16" />
        </RelativeLayout>


<!--        <View-->
<!--            android:layout_width="match_parent"-->
<!--            android:layout_height="1dp"-->
<!--            android:layout_marginLeft="@dimen/dp_10"-->
<!--            android:layout_marginRight="@dimen/dp_10"-->
<!--            android:background="@color/col_f1f" />-->

<!--        <RelativeLayout-->
<!--            android:layout_width="match_parent"-->
<!--            android:layout_height="wrap_content"-->
<!--            android:paddingRight="@dimen/dp_10">-->


<!--            <com.xty.common.weight.RequiredTextView-->
<!--                android:id="@+id/m3"-->
<!--                android:layout_width="wrap_content"-->
<!--                android:layout_height="wrap_content"-->
<!--                android:layout_centerVertical="true"-->
<!--                android:drawablePadding="@dimen/dp_10"-->
<!--                android:ellipsize="end"-->
<!--                android:paddingLeft="@dimen/dp_10"-->
<!--                android:paddingTop="@dimen/dp_15"-->
<!--                android:paddingBottom="@dimen/dp_15"-->
<!--                android:singleLine="true"-->
<!--                android:text="@string/ic_card"-->
<!--                android:textColor="@color/col_455"-->
<!--                android:textSize="@dimen/sp_14" />-->

<!--            <EditText-->
<!--                android:id="@+id/mId"-->
<!--                android:layout_width="match_parent"-->
<!--                android:layout_height="wrap_content"-->
<!--                android:layout_alignParentRight="true"-->
<!--                android:layout_centerVertical="true"-->
<!--                android:layout_toRightOf="@+id/m3"-->
<!--                android:background="@null"-->
<!--                android:digits="0123456789Xx"-->
<!--                android:gravity="center|right"-->

<!--                android:hint="@string/please_input_id"-->
<!--                android:maxLength="18"-->
<!--                android:paddingTop="@dimen/dp_15"-->
<!--                android:paddingBottom="@dimen/dp_15"-->
<!--                android:singleLine="true"-->
<!--                android:textColor="@color/col_455"-->
<!--                android:textSize="@dimen/dp_16"-->

<!--                />-->
<!--        </RelativeLayout>-->


        <View
            android:layout_width="match_parent"
            android:layout_height="1dp"
            android:layout_marginLeft="@dimen/dp_10"
            android:layout_marginRight="@dimen/dp_10"
            android:background="@color/col_f1f" />
        <LinearLayout
            android:layout_width="match_parent"

            android:layout_height="wrap_content"
            android:layout_marginTop="@dimen/dp_20"
            android:orientation="horizontal">

            <TextView
                android:id="@+id/mBirthday"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_weight="2"
                android:background="@null"
                android:drawableRight="@mipmap/ic_next"
                android:paddingLeft="@dimen/dp_10"
                android:hint="@string/please_select_birthday"
                android:paddingTop="@dimen/dp_10"
                android:paddingBottom="@dimen/dp_10"
                android:singleLine="true"
                android:textSize="@dimen/dp_15" />

            <RadioGroup
                android:id="@+id/mRadio"
                android:layout_width="0dp"
                android:layout_height="match_parent"
                android:layout_weight="1"
                android:orientation="horizontal">

                <RadioButton
                    android:id="@+id/mRadio1"
                    android:layout_width="0dp"
                    android:layout_height="match_parent"
                    android:layout_weight="1"
                    android:background="@android:color/transparent"
                    android:button="@drawable/selector_check_medical"
                    android:checked="true"
                    android:text="@string/lunar_calendar" />

                <RadioButton
                    android:id="@+id/mRadio2"
                    android:layout_width="0dp"
                    android:layout_height="match_parent"
                    android:layout_weight="1"
                    android:background="@android:color/transparent"
                    android:button="@drawable/selector_check_medical"
                    android:text="@string/solar_calendar" />

            </RadioGroup>
        </LinearLayout>
        <View
            android:layout_width="match_parent"
            android:layout_height="1dp"
            android:layout_marginLeft="@dimen/dp_10"
            android:layout_marginRight="@dimen/dp_10"
            android:background="@color/col_f1f" />
        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingRight="@dimen/dp_10">


            <com.xty.common.weight.RequiredTextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerVertical="true"
                android:drawablePadding="@dimen/dp_10"
                android:ellipsize="end"
                android:paddingLeft="@dimen/dp_10"
                android:paddingTop="@dimen/dp_15"
                android:paddingBottom="@dimen/dp_15"
                android:singleLine="true"
                android:text="@string/height"
                android:textColor="@color/col_455"
                android:textSize="@dimen/sp_14" />

            <EditText
                android:id="@+id/mHeight"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_centerVertical="true"
                android:layout_toLeftOf="@+id/mHUnit"
                android:background="@null"
                android:gravity="center|right"
                android:hint="@string/please_input_height"
                android:inputType="number"
                android:maxLength="10"
                android:paddingTop="@dimen/dp_15"
                android:paddingRight="@dimen/dp_10"
                android:paddingBottom="@dimen/dp_15"
                android:singleLine="true"
                android:textColor="@color/col_455"
                android:textSize="@dimen/dp_16" />
            <TextView
                android:id="@+id/mHUnit"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerVertical="true"
                android:text="cm"
                android:textSize="@dimen/dp_16"
                android:textColor="@color/col_455"
                android:layout_alignParentRight="true"/>
        </RelativeLayout>


        <View
            android:layout_width="match_parent"
            android:layout_height="1dp"
            android:layout_marginLeft="@dimen/dp_10"
            android:layout_marginRight="@dimen/dp_10"
            android:background="@color/col_f1f" />

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingRight="@dimen/dp_10">


            <com.xty.common.weight.RequiredTextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerVertical="true"
                android:drawablePadding="@dimen/dp_10"
                android:ellipsize="end"
                android:paddingLeft="@dimen/dp_10"
                android:paddingTop="@dimen/dp_15"
                android:paddingBottom="@dimen/dp_15"
                android:singleLine="true"
                android:text="@string/weight"
                android:textColor="@color/col_455"
                android:textSize="@dimen/sp_14" />

            <EditText
                android:id="@+id/mWeight"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_centerVertical="true"
                android:layout_toLeftOf="@+id/mWUnit"
                android:background="@null"
                android:gravity="center|right"
                android:hint="@string/please_input_weight"
                android:inputType="numberDecimal"
                android:maxLength="4"
                android:paddingTop="@dimen/dp_15"
                android:paddingRight="@dimen/dp_10"
                android:paddingBottom="@dimen/dp_15"
                android:singleLine="true"
                android:textColor="@color/col_455"
                android:textSize="@dimen/dp_16" />
            <TextView
                android:id="@+id/mWUnit"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerVertical="true"
                android:text="kg"
                android:textSize="@dimen/dp_16"
                android:textColor="@color/col_455"
                android:layout_alignParentRight="true"/>
        </RelativeLayout>


        <View
            android:layout_width="match_parent"
            android:layout_height="1dp"
            android:layout_marginLeft="@dimen/dp_10"
            android:layout_marginRight="@dimen/dp_10"
            android:background="@color/col_f1f" />

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingRight="@dimen/dp_10">


            <com.xty.common.weight.RequiredTextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerVertical="true"
                android:drawablePadding="@dimen/dp_10"
                android:ellipsize="end"
                android:paddingLeft="@dimen/dp_10"
                android:paddingTop="@dimen/dp_15"
                android:paddingBottom="@dimen/dp_15"
                android:singleLine="true"
                android:text="@string/address"
                android:textColor="@color/col_455"
                android:textSize="@dimen/sp_14" />

            <EditText
                android:id="@+id/mAddress"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_alignParentRight="true"
                android:layout_centerVertical="true"
                android:background="@null"
                android:gravity="center|right"
                android:hint="@string/please_input_address"
                android:paddingTop="@dimen/dp_15"
                android:paddingBottom="@dimen/dp_15"
                android:singleLine="true"
                android:textColor="@color/col_455"
                android:textSize="@dimen/dp_16" />
        </RelativeLayout>


        <View
            android:layout_width="match_parent"
            android:layout_height="1dp"
            android:layout_marginLeft="@dimen/dp_10"
            android:layout_marginRight="@dimen/dp_10"
            android:background="@color/col_f1f" />

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingRight="@dimen/dp_10">


            <com.xty.common.weight.RequiredTextView
                android:id="@+id/mTitle"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerVertical="true"
                android:drawablePadding="@dimen/dp_10"
                android:ellipsize="end"
                android:paddingLeft="@dimen/dp_10"
                android:paddingTop="@dimen/dp_15"
                android:paddingBottom="@dimen/dp_15"
                android:singleLine="true"
                android:text="@string/medic_history"
                android:textColor="@color/col_455"
                android:textSize="@dimen/sp_14" />

            <TextView
                android:id="@+id/mHistoryMedic"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_alignParentRight="true"
                android:layout_centerVertical="true"
                android:layout_toRightOf="@+id/mTitle"
                android:background="@null"
                android:drawableRight="@mipmap/ic_next"
                android:drawablePadding="@dimen/dp_10"
                android:gravity="center|right"
                android:hint="@string/please_input_medic"
                android:paddingTop="@dimen/dp_15"
                android:paddingBottom="@dimen/dp_15"
                android:textColor="@color/col_455"
                android:textSize="@dimen/dp_16" />
        </RelativeLayout>


        <View
            android:layout_width="match_parent"
            android:layout_height="1dp"
            android:layout_marginLeft="@dimen/dp_10"
            android:layout_marginRight="@dimen/dp_10"
            android:background="@color/col_f1f" />

    </LinearLayout>


    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginLeft="@dimen/dp_10"
        android:layout_marginRight="@dimen/dp_10"
        android:background="@drawable/shape_round_white"
        android:orientation="vertical">

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:padding="@dimen/dp_10"
            android:text="@string/urgent_people"
            android:textColor="@color/black"
            android:textSize="@dimen/dp_18" />

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingRight="@dimen/dp_10">


            <com.xty.common.weight.RequiredTextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerVertical="true"
                android:drawablePadding="@dimen/dp_10"
                android:ellipsize="end"
                android:paddingLeft="@dimen/dp_10"
                android:paddingTop="@dimen/dp_15"
                android:paddingBottom="@dimen/dp_15"
                android:singleLine="true"
                android:text="@string/name"
                android:textColor="@color/col_455"
                android:textSize="@dimen/sp_14" />

            <EditText
                android:id="@+id/mOtherName"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_alignParentRight="true"
                android:layout_centerVertical="true"
                android:background="@null"
                android:gravity="center|right"
                android:hint="@string/please_input_name"
                android:maxLength="10"
                android:paddingTop="@dimen/dp_15"
                android:paddingBottom="@dimen/dp_15"
                android:singleLine="true"
                android:textColor="@color/col_455"
                android:textSize="@dimen/dp_16" />
        </RelativeLayout>


        <View
            android:layout_width="match_parent"
            android:layout_height="1dp"
            android:layout_marginLeft="@dimen/dp_10"
            android:layout_marginRight="@dimen/dp_10"
            android:background="@color/col_f1f" />

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingRight="@dimen/dp_10">


            <com.xty.common.weight.RequiredTextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerVertical="true"
                android:drawablePadding="@dimen/dp_10"
                android:ellipsize="end"
                android:paddingLeft="@dimen/dp_10"
                android:paddingTop="@dimen/dp_15"
                android:paddingBottom="@dimen/dp_15"
                android:singleLine="true"
                android:text="@string/contact"
                android:textColor="@color/col_455"
                android:textSize="@dimen/sp_14" />

            <EditText
                android:id="@+id/mOtherPhone"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_alignParentRight="true"
                android:layout_centerVertical="true"
                android:background="@null"
                android:gravity="center|right"
                android:hint="@string/please_input_contact"
                android:inputType="number"
                android:maxLength="11"
                android:paddingTop="@dimen/dp_15"
                android:paddingBottom="@dimen/dp_15"
                android:singleLine="true"
                android:textColor="@color/col_455"
                android:textSize="@dimen/dp_16" />
        </RelativeLayout>


        <View
            android:layout_width="match_parent"
            android:layout_height="1dp"
            android:layout_marginLeft="@dimen/dp_10"
            android:layout_marginRight="@dimen/dp_10"
            android:background="@color/col_f1f" />

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingRight="@dimen/dp_10">


            <com.xty.common.weight.RequiredTextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerVertical="true"
                android:drawablePadding="@dimen/dp_10"
                android:ellipsize="end"
                android:paddingLeft="@dimen/dp_10"
                android:paddingTop="@dimen/dp_15"
                android:paddingBottom="@dimen/dp_15"
                android:singleLine="true"
                android:text="@string/relat"
                android:textColor="@color/col_455"
                android:textSize="@dimen/sp_14" />

            <EditText
                android:id="@+id/mRela"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_alignParentRight="true"
                android:layout_centerVertical="true"
                android:background="@null"
                android:gravity="center|right"
                android:hint="@string/hint_relat"
                android:maxLength="20"
                android:paddingTop="@dimen/dp_15"
                android:paddingBottom="@dimen/dp_15"
                android:singleLine="true"
                android:textColor="@color/col_455"
                android:textSize="@dimen/dp_16" />
        </RelativeLayout>


        <View
            android:layout_width="match_parent"
            android:layout_height="1dp"
            android:layout_marginLeft="@dimen/dp_10"
            android:layout_marginRight="@dimen/dp_10"
            android:background="@color/col_f1f" />


    </LinearLayout>
</LinearLayout>