|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:gravity="center_horizontal"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_login"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_centerHorizontal="true"
|
|
|
android:layout_marginTop="@dimen/dp_60"
|
|
|
android:text="绑定手机号"
|
|
|
android:textColor="#232323"
|
|
|
android:textSize="17sp" />
|
|
|
|
|
|
<ImageView
|
|
|
android:id="@+id/img_phone"
|
|
|
android:layout_width="@dimen/dp_18"
|
|
|
android:layout_height="@dimen/dp_18"
|
|
|
android:layout_below="@+id/tv_login"
|
|
|
android:layout_marginLeft="@dimen/dp_25"
|
|
|
android:layout_marginTop="@dimen/dp_50"
|
|
|
android:src="@mipmap/login_phone" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_phone"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_alignBottom="@+id/img_phone"
|
|
|
android:layout_marginLeft="@dimen/dp_5"
|
|
|
android:layout_toRightOf="@+id/img_phone"
|
|
|
android:text="手机号"
|
|
|
android:textColor="#666666"
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
<!--<View-->
|
|
|
<!--android:layout_width="@dimen/dp_1"-->
|
|
|
<!--android:layout_height="@dimen/dp_15"-->
|
|
|
<!--android:background="@color/color_333333"-->
|
|
|
<!--android:layout_toRightOf="@+id/tv_phone"-->
|
|
|
<!--android:layout_alignTop="@+id/tv_phone"-->
|
|
|
<!--android:layout_marginLeft="@dimen/dp_10"-->
|
|
|
<!--/>-->
|
|
|
|
|
|
<EditText
|
|
|
android:id="@+id/ed_phone"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="@dimen/dp_18"
|
|
|
android:layout_alignBottom="@id/img_phone"
|
|
|
android:layout_marginLeft="@dimen/dp_15"
|
|
|
android:layout_toRightOf="@id/tv_phone"
|
|
|
android:background="@null"
|
|
|
android:hint="|请输入手机号"
|
|
|
android:textColorHint="#C7C7C7"
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
<View
|
|
|
android:id="@+id/line2"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="@dimen/dp_1"
|
|
|
android:layout_below="@id/img_phone"
|
|
|
android:layout_marginLeft="@dimen/dp_25"
|
|
|
android:layout_marginTop="@dimen/dp_15"
|
|
|
android:layout_marginRight="@dimen/dp_25"
|
|
|
android:background="#333333" />
|
|
|
|
|
|
<ImageView
|
|
|
android:id="@+id/img_message"
|
|
|
android:layout_width="@dimen/dp_18"
|
|
|
android:layout_height="@dimen/dp_18"
|
|
|
android:layout_below="@id/line2"
|
|
|
android:layout_marginLeft="@dimen/dp_25"
|
|
|
android:layout_marginTop="@dimen/dp_35"
|
|
|
android:src="@mipmap/login_message" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_message"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_alignBottom="@+id/img_message"
|
|
|
android:layout_marginLeft="@dimen/dp_5"
|
|
|
android:layout_toRightOf="@+id/img_phone"
|
|
|
android:text="验证码"
|
|
|
android:textColor="#666666"
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
<EditText
|
|
|
android:id="@+id/ed_code"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="@dimen/dp_18"
|
|
|
android:layout_alignBottom="@id/img_message"
|
|
|
android:layout_marginLeft="@dimen/dp_15"
|
|
|
android:layout_toRightOf="@id/tv_message"
|
|
|
android:background="@null"
|
|
|
android:hint="请输入短信验证码"
|
|
|
android:textColorHint="#C7C7C7"
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_yanzheng"
|
|
|
android:layout_width="@dimen/dp_75"
|
|
|
android:layout_height="@dimen/dp_25"
|
|
|
android:layout_alignBottom="@id/img_message"
|
|
|
android:layout_alignParentRight="true"
|
|
|
android:layout_marginRight="@dimen/dp_25"
|
|
|
android:background="@drawable/login_circle"
|
|
|
android:gravity="center"
|
|
|
android:text="获取验证码"
|
|
|
android:textColor="#FFFFFF"
|
|
|
android:textSize="11sp" />
|
|
|
|
|
|
<View
|
|
|
android:id="@+id/ling2"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="@dimen/dp_1"
|
|
|
android:layout_below="@+id/tv_yanzheng"
|
|
|
android:layout_marginLeft="@dimen/dp_25"
|
|
|
android:layout_marginTop="@dimen/dp_10"
|
|
|
android:layout_marginRight="@dimen/dp_25"
|
|
|
android:background="#D5D5D5" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/bdsj_sure"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="@dimen/dp_50"
|
|
|
android:layout_below="@id/ling2"
|
|
|
android:layout_marginLeft="@dimen/dp_25"
|
|
|
android:layout_marginTop="@dimen/dp_240"
|
|
|
android:layout_marginRight="@dimen/dp_25"
|
|
|
android:background="@drawable/circle_orange"
|
|
|
android:gravity="center"
|
|
|
android:text="确定"
|
|
|
android:textColor="#FFFFFF"
|
|
|
android:textSize="16sp" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/bdsj_fhdl"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="@dimen/dp_50"
|
|
|
android:layout_below="@id/bdsj_sure"
|
|
|
android:layout_marginLeft="@dimen/dp_25"
|
|
|
android:layout_marginTop="@dimen/dp_10"
|
|
|
android:layout_marginRight="@dimen/dp_25"
|
|
|
android:background="@drawable/circle_grey_25"
|
|
|
android:gravity="center"
|
|
|
android:text="返回登录"
|
|
|
android:textColor="@color/color_6666666"
|
|
|
android:textSize="16sp" />
|
|
|
|
|
|
</RelativeLayout> |
|
|
\ No newline at end of file |
...
|
...
|
|