| <?xml version="1.0" encoding="utf-8"?> | 
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | 
|     android:id="@+id/ll_root" | 
|     android:layout_width="match_parent" | 
|     android:layout_height="match_parent" | 
|     android:background="@mipmap/bg_login" | 
|     android:fitsSystemWindows="true" | 
|     android:orientation="vertical"> | 
|     <ImageView | 
|         android:layout_width="100dp" | 
|         android:layout_height="100dp" | 
|         android:layout_gravity="center_horizontal" | 
|         android:layout_marginTop="@dimen/y40" | 
|         android:src="@mipmap/logo_login" /> | 
|     <RelativeLayout | 
|         android:layout_width="match_parent" | 
|         android:layout_height="wrap_content" | 
|         android:layout_marginLeft="@dimen/x20" | 
|         android:layout_marginRight="@dimen/x20" | 
|         android:layout_marginTop="@dimen/x16" | 
|         android:background="@mipmap/bg_edit" | 
|         android:padding="@dimen/x14"> | 
|         <ImageView | 
|             android:id="@+id/iv1" | 
|             android:layout_width="@dimen/x16" | 
|             android:layout_height="@dimen/x16" | 
|             android:layout_centerVertical="true" | 
|             android:src="@mipmap/icon_account_phone"/> | 
|         <View | 
|             android:id="@+id/line1" | 
|             android:layout_width="1dp" | 
|             android:layout_height="@dimen/x16" | 
|             android:layout_centerVertical="true" | 
|             android:layout_marginLeft="@dimen/x8" | 
|             android:layout_toRightOf="@+id/iv1" | 
|             android:background="@color/red_txt" /> | 
|         <EditText | 
|             android:id="@+id/et_phone" | 
|             android:layout_width="match_parent" | 
|             android:layout_height="wrap_content" | 
|             android:layout_toRightOf="@+id/line1" | 
|             android:layout_centerVertical="true" | 
|             android:hint="请输入注册手机号" | 
|             android:textColorHint="@color/red_txt" | 
|             android:textColor="@color/red_txt" | 
|             android:background="@null" | 
|             android:inputType="number" | 
|             android:paddingLeft="@dimen/x10" | 
|             android:paddingRight="@dimen/x10" | 
|             android:textSize="16sp" /> | 
|         <TextView | 
|             android:id="@+id/bt_code" | 
|             android:layout_width="wrap_content" | 
|             android:layout_height="wrap_content" | 
|             android:layout_alignParentRight="true" | 
|             android:textColor="@color/white" | 
|             android:gravity="center" | 
|             android:background="@mipmap/bt_red_small" | 
|             android:paddingLeft="@dimen/x8" | 
|             android:paddingRight="@dimen/x8" | 
|             android:paddingBottom="@dimen/x2" | 
|             android:paddingTop="@dimen/x2" | 
|             android:text="获取验证码"/> | 
|     </RelativeLayout> | 
|     <RelativeLayout | 
|         android:layout_width="match_parent" | 
|         android:layout_height="wrap_content" | 
|         android:background="@mipmap/bg_edit" | 
|         android:layout_marginLeft="@dimen/x20" | 
|         android:layout_marginRight="@dimen/x20" | 
|         android:layout_marginTop="@dimen/x16" | 
|         android:padding="@dimen/x14"> | 
|         <ImageView | 
|             android:id="@+id/iv2" | 
|             android:layout_width="@dimen/x16" | 
|             android:layout_height="@dimen/x16" | 
|             android:layout_centerVertical="true" | 
|             android:src="@mipmap/icon_code"/> | 
|         <View | 
|             android:id="@+id/line2" | 
|             android:layout_width="1dp" | 
|             android:layout_height="@dimen/x16" | 
|             android:layout_centerVertical="true" | 
|             android:layout_marginLeft="@dimen/x8" | 
|             android:layout_toRightOf="@+id/iv2" | 
|             android:background="@color/red_txt" /> | 
|         <EditText | 
|             android:id="@+id/et_code" | 
|             android:layout_width="match_parent" | 
|             android:layout_height="wrap_content" | 
|             android:hint="请输入验证码" | 
|             android:inputType="number" | 
|             android:textColorHint="@color/red_txt" | 
|             android:textColor="@color/red_txt" | 
|             android:background="@null" | 
|             android:textSize="16sp" | 
|             android:paddingLeft="@dimen/x10" | 
|             android:paddingRight="@dimen/x10" | 
|            android:layout_toRightOf="@id/line2"/> | 
|     </RelativeLayout> | 
|     <RelativeLayout | 
|         android:layout_width="match_parent" | 
|         android:layout_height="wrap_content" | 
|         android:layout_marginLeft="@dimen/x20" | 
|         android:layout_marginRight="@dimen/x20" | 
|         android:layout_marginTop="@dimen/x14" | 
|         android:background="@mipmap/bg_edit" | 
|         android:padding="@dimen/x14"> | 
|         <ImageView | 
|             android:id="@+id/iv3" | 
|             android:layout_width="@dimen/x16" | 
|             android:layout_height="@dimen/x16" | 
|             android:layout_centerVertical="true" | 
|             android:src="@mipmap/icon_password"/> | 
|         <View | 
|             android:id="@+id/line3" | 
|             android:layout_width="1dp" | 
|             android:layout_height="@dimen/x16" | 
|             android:layout_centerVertical="true" | 
|             android:layout_marginLeft="@dimen/x8" | 
|             android:layout_toRightOf="@+id/iv3" | 
|             android:background="@color/red_txt" /> | 
|         <EditText | 
|             android:id="@+id/et_pwd" | 
|             android:layout_width="match_parent" | 
|             android:layout_height="wrap_content" | 
|             android:layout_toRightOf="@+id/line3" | 
|             android:layout_centerVertical="true" | 
|             android:hint="请输入密码" | 
|             android:textColorHint="@color/red_txt" | 
|             android:textColor="@color/red_txt" | 
|             android:background="@null" | 
|             android:inputType="number" | 
|             android:paddingLeft="@dimen/x10" | 
|             android:paddingRight="@dimen/x10" | 
|             android:textSize="16sp" /> | 
|     </RelativeLayout> | 
|     <Button | 
|         android:id="@+id/bt_sure" | 
|         android:layout_width="match_parent" | 
|         android:layout_height="@dimen/x40" | 
|         android:layout_marginLeft="@dimen/x20" | 
|         android:layout_marginRight="@dimen/x20" | 
|         android:layout_marginTop="@dimen/x20" | 
|         android:background="@mipmap/bt_red" | 
|         android:gravity="center" | 
|         android:text="注册" | 
|         android:textColor="@color/white" | 
|         android:textColorHint="@color/white" | 
|         android:textSize="16sp" /> | 
|     <TextView | 
|         android:id="@+id/tv_login" | 
|         android:layout_width="match_parent" | 
|         android:layout_height="match_parent" | 
|         android:text="已有账号,返回登录" | 
|         android:gravity="bottom|center_horizontal" | 
|         android:textColor="@color/red_txt" | 
|         android:layout_marginBottom="@dimen/x30" | 
|         android:textSize="16sp" /> | 
| </LinearLayout> |