<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:background="@color/col_6f7"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

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

    <LinearLayout
        android:id="@+id/ll_add"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:layout_below="@+id/title"
        android:paddingLeft="@dimen/dp_21"
        android:paddingRight="@dimen/dp_21"
        android:background="@color/white">

        <RelativeLayout
            android:layout_width="match_parent"
            android:gravity="center_vertical"
            android:layout_height="@dimen/dp_56">

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="关系"
                android:textColor="@color/col_313"
                android:textSize="@dimen/sp_15"/>

            <EditText
                android:id="@+id/et_name"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:textSize="@dimen/sp_15"
                android:textColor="@color/col_313"
                android:textColorHint="@color/col_6B6"
                android:hint="请填写关联对象关系，例:父亲"
                android:background="@null"
                android:layout_alignParentEnd="true"
                android:gravity="right"/>

        </RelativeLayout>
        <View
            android:layout_width="match_parent"
            android:layout_height="@dimen/dp_0_5"
            android:background="@color/col_0f2"
          />
        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="@dimen/dp_56"
            android:gravity="center_vertical">
            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="手机号"
                android:textColor="@color/col_313"
                android:textSize="@dimen/sp_15"/>

            <EditText
                android:id="@+id/et_phone"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:textSize="@dimen/sp_15"
                android:textColor="@color/col_313"
                android:textColorHint="@color/col_6B6"
                android:inputType="phone"
                android:maxLength="11"
                android:hint="请输入手机号码"
                android:background="@null"
                android:layout_alignParentEnd="true"
                android:gravity="right"/>

        </RelativeLayout>
        <View
            android:layout_width="match_parent"
            android:layout_height="@dimen/dp_0_5"
            android:background="@color/col_0f2"
           />
        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="@dimen/dp_56"
            android:gravity="center_vertical">
            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="监护人"
                android:textColor="@color/col_313"
                android:textSize="@dimen/sp_15"/>

            <CheckBox
                android:id="@+id/cb_frist"
                android:layout_width="@dimen/dp_13"
                android:layout_height="@dimen/dp_13"
                android:layout_marginRight="2dp"
                android:layout_toLeftOf="@+id/desc"
                android:layout_marginTop="@dimen/dp_5"
                android:gravity="center_vertical"
                android:background="@drawable/selector_check_tongue"
                android:button="@null"
              />

            <TextView
                android:id="@+id/desc"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="第一监护人(设置该用户接受预警短信)"
                android:textColor="@color/col_313"
                android:textSize="@dimen/sp_13"
                android:layout_alignParentEnd="true"/>

        </RelativeLayout>

    </LinearLayout>

    <TextView
        android:layout_below="@+id/ll_add"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="提示:\n1、在添加绑定监护人前，请用户先登录小程序或APP;\n2、在登陆后填写用户绑定的手机号码。"
        android:textSize="@dimen/sp_14"
        android:textColor="@color/col_c7c"
        android:layout_marginLeft="@dimen/dp_19"
        android:layout_marginRight="@dimen/dp_19"
        android:layout_marginTop="@dimen/dp_19"/>
    
    <TextView
        android:id="@+id/tv_bind"
        android:layout_width="match_parent"
        android:layout_height="@dimen/dp_50"
        android:layout_marginLeft="@dimen/dp_25"
        android:layout_marginRight="@dimen/dp_25"
        android:background="@drawable/shape_r25_02c"
        android:text="绑定"
        android:textColor="@color/white"
        android:textSize="@dimen/sp_18"
        android:gravity="center"
        android:layout_alignParentBottom="true"
        android:layout_marginBottom="@dimen/dp_30"
        android:textStyle="bold"/>




</RelativeLayout>