| <?xml version="1.0" encoding="utf-8"?> | 
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | 
|     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/x40" | 
|         android:layout_marginRight="@dimen/x40" | 
|         android:layout_marginTop="@dimen/x24" | 
|         android:layout_marginBottom="@dimen/x20" | 
|         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" /> | 
|   | 
|         <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:background="@null" | 
|             android:hint="请输入手机号码" | 
|             android:inputType="number" | 
|             android:paddingLeft="@dimen/x10" | 
|             android:paddingRight="@dimen/x10" | 
|             android:layout_centerVertical="true" | 
|             android:textColor="@color/red_txt" | 
|             android:textColorHint="@color/red_txt" | 
|             android:textSize="16sp" /> | 
|     </RelativeLayout> | 
|   | 
|     <RelativeLayout | 
|         android:layout_width="match_parent" | 
|         android:layout_height="wrap_content" | 
|         android:layout_marginLeft="@dimen/x40" | 
|         android:layout_marginRight="@dimen/x40" | 
|         android:background="@mipmap/bg_edit" | 
|         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_password" /> | 
|   | 
|         <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_pwd" | 
|             android:layout_width="match_parent" | 
|             android:layout_height="wrap_content" | 
|             android:layout_toRightOf="@+id/line2" | 
|             android:layout_centerVertical="true" | 
|             android:background="@null" | 
|             android:hint="请输入密码" | 
|             android:inputType="textPassword" | 
|             android:paddingLeft="@dimen/x10" | 
|             android:paddingRight="@dimen/x10" | 
|             android:textColor="@color/red_txt" | 
|             android:textColorHint="@color/red_txt" | 
|             android:textSize="16sp" /> | 
|     </RelativeLayout> | 
|     <TextView | 
|         android:id="@+id/tv_forget" | 
|         android:layout_width="match_parent" | 
|         android:layout_height="wrap_content" | 
|         android:layout_alignParentRight="true" | 
|         android:text="忘记密码?" | 
|         android:layout_marginRight="@dimen/x40" | 
|         android:layout_marginTop="@dimen/x24" | 
|         android:gravity="right" | 
|         android:textColor="@color/dark_gray_txt" | 
|         android:textSize="15sp" /> | 
|     <Button | 
|         android:id="@+id/bt_sure" | 
|         android:layout_width="match_parent" | 
|         android:layout_height="@dimen/x40" | 
|         android:layout_marginLeft="@dimen/x40" | 
|         android:layout_marginRight="@dimen/x40" | 
|         android:layout_marginTop="@dimen/x24" | 
|         android:background="@mipmap/bt_red" | 
|         android:text="登录" | 
|         android:gravity="center" | 
|         android:textColor="@color/white" | 
|         android:textSize="16sp" /> | 
|     <TextView | 
|         android:id="@+id/tv_register" | 
|         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> |