<?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="match_parent"
    android:orientation="vertical">

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


    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_below="@+id/title"
        android:background="@color/white"
        android:orientation="vertical">
        <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:paddingTop="@dimen/dp_6"
            android:paddingRight="@dimen/dp_10"
            android:paddingBottom="@dimen/dp_6">
            <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_12"
                android:paddingTop="@dimen/dp_12"
                android:paddingBottom="@dimen/dp_12"
                android:singleLine="true"
                android:text="@string/head_portrait"
                android:textColor="@color/col_455"
                android:textSize="@dimen/dp_14" />

            <de.hdodenhof.circleimageview.CircleImageView
                android:id="@+id/mImage"
                android:layout_width="@dimen/dp_46"
                android:layout_height="@dimen/dp_46"
                android:layout_marginRight="@dimen/dp_12"
                android:layout_toLeftOf="@+id/right_im"
                android:src="@mipmap/ic_default_man" />

            <ImageView
                android:id="@+id/right_im"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentRight="true"
                android:layout_centerVertical="true"
                android:layout_marginRight="@dimen/dp_3"
                android:src="@mipmap/arrow_right"/>

        </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_14" />


            <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="旅行者2号" />
        </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">


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

            <CheckBox
                android:id="@+id/check_sex"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:checked="false"
                android:background="@drawable/selector_check_sex_new"
                android:button="@null"
                />
        </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" />

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

            <com.xty.common.weight.RequiredTextView
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_weight="2"
                android:background="@null"
                android:paddingLeft="@dimen/dp_10"
                android:text="@string/birthday_type"
                android:textColor="@color/col_455"
                android:paddingTop="@dimen/dp_14"
                android:paddingBottom="@dimen/dp_14"
                android:singleLine="true"
                android:textSize="@dimen/dp_14" />

            <CheckBox
                android:id="@+id/check_birthday"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:checked="true"
                android:background="@drawable/selector_check_birthday"
                android:button="@null"
                />

        </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" />

        <LinearLayout
            android:id="@+id/ll_birthday"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="horizontal">

            <com.xty.common.weight.RequiredTextView
                android:id="@+id/mBirthday_date"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:background="@null"
                android:paddingLeft="@dimen/dp_10"
                android:text="@string/birthday"
                android:paddingTop="@dimen/dp_14"
                android:textColor="@color/col_455"
                android:paddingBottom="@dimen/dp_14"
                android:singleLine="true"
                android:textSize="@dimen/dp_14" />
        <TextView
            android:id="@+id/mBirthday"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center_vertical"
            android:drawablePadding="@dimen/dp_8"
            android:layout_marginRight="@dimen/dp_12"
            android:textSize="@dimen/dp_16"
            android:hint=" 请选择生日 "
            tools:text="2023-02-03"
            android:textColorHint="@color/col_7b8"
            android:textColor="@color/col_313"
            android:drawableRight="@mipmap/arrow_right"/>
        </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" />

    </LinearLayout>

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginStart="@dimen/dp_12"
        android:layout_marginEnd="@dimen/dp_12"
        android:textColor="@color/col_c7c"
        android:textSize="@dimen/sp_13"
        android:layout_marginBottom="@dimen/dp_50"
        android:layout_marginTop="@dimen/dp_10"
        android:text="请完善以上基本信息，以便于更好的为您提供健管的服务"/>

    <LinearLayout
        android:layout_width="match_parent"
        android:orientation="horizontal"
        android:layout_marginBottom="@dimen/dp_30"
        android:gravity="bottom"
        android:layout_weight="1"

        android:layout_gravity="bottom"
        android:layout_height="wrap_content">
        <TextView
            android:id="@+id/bindingTv"
            android:layout_width="0dp"
            android:layout_weight="1"
            android:layout_height="wrap_content"
            android:paddingTop="@dimen/dp_8"
            android:gravity="center"
            android:layout_marginLeft="@dimen/dp_20"
            android:paddingBottom="@dimen/dp_8"
            android:paddingRight="@dimen/dp_20"
            android:paddingLeft="@dimen/dp_20"
            android:background="@drawable/shape_btn_select_bg_white"
            android:textColor="@color/col_02c"
            android:textSize="@dimen/dp_16"
            android:text="去绑定手表"/>

        <TextView
            android:id="@+id/mSubmit"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:paddingTop="@dimen/dp_8"
            android:paddingBottom="@dimen/dp_8"
            android:layout_marginLeft="@dimen/dp_20"
            android:autoSizeMaxTextSize="@dimen/dp_20"
            android:layout_marginRight="@dimen/dp_20"
            android:background="@drawable/shape_btn_select_bg"
            android:gravity="center"
            android:padding="@dimen/dp_10"
            android:text="完成"
            android:textColor="@color/white"
            android:textSize="@dimen/dp_16" />

    </LinearLayout>

</LinearLayout>