<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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"
    android:background="@color/col_6f7"
    android:orientation="vertical">

    <include
        android:id="@+id/title"
        layout="@layout/title_white_bar" />

    <androidx.core.widget.NestedScrollView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_above="@+id/mSubmit"
        android:layout_below="@+id/title">

        <LinearLayout
            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_14"
                android:background="@drawable/shape_round_white"
                android:orientation="vertical">

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:drawableLeft="@drawable/shape_head_tip_new"
                    android:drawablePadding="@dimen/dp_10"
                    android:padding="@dimen/dp_10"
                    android:text="@string/base_info"
                    android:textStyle="bold"
                    android:textColor="@color/col_313"
                    android:textSize="@dimen/sp_17" />

                <RelativeLayout
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:padding="@dimen/dp_15">

                    <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_c7c"
                        android:textSize="@dimen/dp_16" />

                    <ImageView
                        android:id="@+id/right"
                        android:layout_width="@dimen/dp_11"
                        android:layout_height="@dimen/dp_11"
                        android:layout_alignParentRight="true"
                        android:layout_centerVertical="true"
                        android:src="@mipmap/ic_next" />

                    <de.hdodenhof.circleimageview.CircleImageView
                        android:id="@+id/mImage"
                        android:layout_width="@dimen/dp_38"
                        android:layout_height="@dimen/dp_38"
                        android:layout_alignParentRight="true"
                        android:layout_marginRight="@dimen/dp_18"
                        android:src="@mipmap/icon_default_avator" />

                </RelativeLayout>

                <View
                    android:layout_width="match_parent"
                    android:layout_height="1dp"
                    android:visibility="gone"
                    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:padding="@dimen/dp_15">

                    <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:singleLine="true"
                        android:text="@string/name"
                        android:textColor="@color/col_c7c"
                        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:singleLine="true"
                        android:textColor="@color/col_313"
                        android:textSize="@dimen/sp_15"
                        tools:text="asdasdasda" />

                </RelativeLayout>

                <View
                    android:layout_width="match_parent"
                    android:layout_height="1dp"
                    android:visibility="gone"
                    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:padding="@dimen/dp_15">

                    <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:singleLine="true"
                        android:text="@string/sex"
                        android:textColor="@color/col_c7c"
                        android:textSize="@dimen/sp_14" />

                    <CheckBox
                        android:id="@+id/check_sex"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:background="@drawable/selector_check_sex_new"
                        android:button="@null"
                        android:checked="false" />
                </LinearLayout>


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

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

                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:drawablePadding="@dimen/dp_10"
                        android:ellipsize="end"
                        android:singleLine="true"
                        android:text="@string/phone_call"
                        android:textColor="@color/col_c7c"
                        android:textSize="@dimen/sp_14" />

                    <TextView
                        android:id="@+id/mPhone"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_marginStart="@dimen/dp_10"
                        android:background="@null"
                        android:gravity="center|right"
                        android:singleLine="true"
                        android:textColor="@color/col_313"
                        android:textSize="@dimen/dp_15" />

                </LinearLayout>

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

                <RelativeLayout
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:padding="@dimen/dp_15"
                    android:orientation="horizontal">

                    <com.xty.common.weight.RequiredTextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_centerVertical="true"
                        android:layout_weight="1"
                        android:drawablePadding="@dimen/dp_10"
                        android:ellipsize="end"
                        android:singleLine="true"
                        android:text="@string/birthday"
                        android:textColor="@color/col_c7c"
                        android:textSize="@dimen/sp_14" />

                    <CheckBox
                        android:id="@+id/check_birthday"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:background="@drawable/selector_check_birthday"
                        android:button="@null"
                        android:visibility="gone"
                        android:checked="true" />
                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:textColor="@color/col_313"
                        android:textSize="@dimen/dp_14"
                        android:visibility="gone"
                        android:id="@+id/tv_cal_type"
                        android:layout_marginRight="@dimen/dp_5"
                        android:layout_toLeftOf="@+id/mBirthday"/>

                    <TextView
                        android:id="@+id/mBirthday"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_weight="0.8"
                        android:background="@null"
                        android:gravity="right"
                        android:hint="@string/birthday"
                        android:singleLine="true"
                        android:text="2032-33-32"
                        android:layout_marginRight="@dimen/dp_8"
                        android:layout_toLeftOf="@+id/birthday_right"
                        android:textColor="@color/col_313"
                        android:textSize="@dimen/dp_14" />

                    <ImageView
                        android:id="@+id/birthday_right"
                        android:layout_width="@dimen/dp_11"
                        android:layout_height="@dimen/dp_11"
                        android:layout_alignParentRight="true"
                        android:layout_centerVertical="true"
                        android:src="@mipmap/ic_next" />



                </RelativeLayout>

                <View
                    android:layout_width="match_parent"
                    android:layout_height="1dp"
                    android:visibility="gone"
                    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:padding="@dimen/dp_15">

                    <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:singleLine="true"
                        android:text="@string/height"
                        android:textColor="@color/col_c7c"
                        android:textSize="@dimen/sp_14" />

                    <EditText
                        android:id="@+id/mHeight"
                        android:layout_width="0dp"
                        android:layout_height="wrap_content"
                        android:layout_marginStart="@dimen/dp_10"
                        android:layout_weight="1"
                        android:background="@null"
                        android:gravity="center|right"
                        android:hint="@string/please_input_height"
                        android:inputType="numberDecimal"
                        android:maxLength="10"
                        android:singleLine="true"
                        android:textColor="@color/col_313"
                        android:layout_marginRight="@dimen/dp_5"
                        android:textSize="@dimen/sp_15" />

                    <TextView
                        android:id="@+id/mHUnit"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:text="cm"
                        android:textColor="@color/col_313"
                        android:textSize="@dimen/sp_15" />

                </LinearLayout>

                <View
                    android:layout_width="match_parent"
                    android:layout_height="1dp"
                    android:visibility="gone"
                    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:padding="@dimen/dp_15">

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

                    <EditText
                        android:id="@+id/mWeight"
                        android:layout_width="0dp"
                        android:layout_height="wrap_content"
                        android:layout_marginStart="@dimen/dp_10"
                        android:layout_weight="1"
                        android:background="@null"
                        android:gravity="center|right"
                        android:hint="@string/please_input_weight"
                        android:inputType="numberDecimal"
                        android:maxLength="4"
                        android:singleLine="true"
                        android:textColor="@color/col_313"
                        android:layout_marginRight="@dimen/dp_5"
                        android:textSize="@dimen/sp_15" />

                    <TextView
                        android:id="@+id/mWUnit"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_alignParentRight="true"
                        android:layout_centerVertical="true"
                        android:text="kg"
                        android:textColor="@color/col_313"
                        android:textSize="@dimen/sp_15" />

                </LinearLayout>

                <View
                    android:layout_width="match_parent"
                    android:layout_height="1dp"
                    android:visibility="gone"
                    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:orientation="horizontal"
                    android:padding="@dimen/dp_15">

                    <com.xty.common.weight.RequiredTextView
                        android:id="@+id/tv_area_desc"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:drawablePadding="@dimen/dp_10"
                        android:ellipsize="end"
                        android:singleLine="true"
                        android:text="@string/area_loc"
                        android:textColor="@color/col_c7c"
                        android:textSize="@dimen/sp_14" />

                    <TextView
                        android:id="@+id/mArea"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_marginStart="@dimen/dp_10"
                        android:background="@null"
                        android:gravity="center|right"
                        android:hint="@string/please_input_area"
                        android:singleLine="true"
                        android:textColor="@color/col_313"
                        android:textSize="@dimen/dp_15"
                        android:layout_toLeftOf="@+id/area_right"
                        android:layout_toRightOf="@+id/tv_area_desc"
                        android:layout_marginRight="@dimen/dp_8"
                        tools:ignore="UseCompatTextViewDrawableXml" />

                    <ImageView
                        android:id="@+id/area_right"
                        android:layout_width="@dimen/dp_11"
                        android:layout_height="@dimen/dp_11"
                        android:layout_alignParentRight="true"
                        android:layout_centerVertical="true"
                        android:src="@mipmap/ic_next" />

                </RelativeLayout>

                <View
                    android:layout_width="match_parent"
                    android:layout_height="1dp"
                    android:visibility="gone"
                    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:padding="@dimen/dp_15">

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

                    <EditText
                        android:id="@+id/mAddress"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_marginStart="@dimen/dp_10"
                        android:background="@null"
                        android:gravity="center|right"
                        android:hint="@string/please_input_address"
                        android:singleLine="true"
                        android:textColor="@color/col_313"
                        android:textSize="@dimen/dp_15" />

                </LinearLayout>

                <View
                    android:layout_width="match_parent"
                    android:layout_height="1dp"
                    android:visibility="gone"
                    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:orientation="horizontal"
                    android:padding="@dimen/dp_15">

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

                    <TextView
                        android:id="@+id/mHistoryMedic"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_marginStart="@dimen/dp_10"
                        android:background="@null"
                        android:gravity="center|right"
                        android:hint="@string/please_input_medic"
                        android:singleLine="true"
                        android:textColorHint="@color/col_c7c"
                        android:textColor="@color/col_313"
                        android:layout_toLeftOf="@+id/right1"
                        android:layout_toRightOf="@+id/ill"
                        android:layout_marginRight="@dimen/dp_8"
                        android:textSize="@dimen/dp_15"
                        tools:text="eeeeeee"
                        tools:ignore="UseCompatTextViewDrawableXml" />

                    <ImageView
                        android:id="@+id/right1"
                        android:layout_width="@dimen/dp_11"
                        android:layout_height="@dimen/dp_11"
                        android:layout_alignParentRight="true"
                        android:layout_centerVertical="true"
                        android:src="@mipmap/ic_next" />

                </RelativeLayout>

                <View
                    android:layout_width="match_parent"
                    android:layout_height="1dp"
                    android:visibility="gone"
                    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_14"
                android:layout_marginRight="@dimen/dp_14"
                android:background="@drawable/shape_round_white"
                android:orientation="vertical">

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:drawableLeft="@drawable/shape_head_tip_new"
                    android:drawablePadding="@dimen/dp_10"
                    android:padding="@dimen/dp_10"
                    android:text="@string/urgent_people"
                    android:textStyle="bold"
                    android:textColor="@color/col_313"
                    android:textSize="@dimen/sp_17" />

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

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

                    <EditText
                        android:id="@+id/mOtherName"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_marginStart="@dimen/dp_10"
                        android:background="@null"
                        android:gravity="center|right"
                        android:hint="@string/please_input_name"
                        android:maxLength="10"
                        android:singleLine="true"
                        android:textColor="@color/col_313"
                        android:textSize="@dimen/dp_15" />

                </LinearLayout>

                <View
                    android:layout_width="match_parent"
                    android:layout_height="1dp"
                    android:layout_marginLeft="@dimen/dp_10"
                    android:visibility="gone"
                    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:padding="@dimen/dp_15">

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

                    <EditText
                        android:id="@+id/mOtherPhone"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_marginStart="@dimen/dp_10"
                        android:background="@null"
                        android:gravity="center|right"
                        android:hint="@string/please_input_contact"
                        android:inputType="number"
                        android:maxLength="11"
                        android:singleLine="true"
                        android:textColor="@color/col_313"
                        android:textSize="@dimen/dp_15" />

                </LinearLayout>

                <View
                    android:layout_width="match_parent"
                    android:layout_height="1dp"
                    android:visibility="gone"
                    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:padding="@dimen/dp_15">

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

                    <EditText
                        android:id="@+id/mRela"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_marginStart="@dimen/dp_10"
                        android:background="@null"
                        android:gravity="center|right"
                        android:hint="@string/hint_relat"
                        android:maxLength="20"
                        android:singleLine="true"
                        android:textColor="@color/col_313"
                        android:textSize="@dimen/sp_15" />

                </LinearLayout>

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

            </LinearLayout>

            <TextView
                android:visibility="gone"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginStart="@dimen/dp_14"
                android:layout_marginTop="@dimen/dp_12"
                android:layout_marginEnd="@dimen/dp_14"
                android:layout_marginBottom="@dimen/dp_8"
                android:text="*请完善以上信息，以便于更好的为您提供健管的服务请扫机构用户授权码"
                android:textColor="@color/col_c7c"
                android:textSize="@dimen/sp_12" />

        </LinearLayout>

    </androidx.core.widget.NestedScrollView>

    <TextView
        android:id="@+id/mSubmit"
        android:layout_width="match_parent"
        android:layout_height="@dimen/dp_50"
        android:layout_alignParentBottom="true"
        android:layout_marginLeft="@dimen/dp_25"
        android:layout_marginTop="@dimen/dp_20"
        android:layout_marginRight="@dimen/dp_25"
        android:layout_marginBottom="@dimen/dp_10"
        android:background="@drawable/shape_btn_select_bg"
        android:gravity="center"
        android:text="@string/confirm_1"
        android:textColor="@color/white"
        android:textStyle="bold"
        android:textSize="@dimen/sp_18" />

</RelativeLayout>