<?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:background="@color/gray2"
|
android:gravity="center">
|
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:background="@drawable/ttw_edit_two_bg"
|
android:paddingLeft="15dp"
|
android:paddingRight="15dp"
|
android:paddingBottom="15dp"
|
android:orientation="vertical"
|
android:layout_centerVertical="true"
|
android:layout_centerHorizontal="true">
|
|
<TextView
|
android:id="@+id/tv_title"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_horizontal"
|
android:layout_marginBottom="15dp"
|
android:layout_marginTop="15dp"
|
android:text="实名认证"
|
android:textSize="18sp" />
|
|
<RelativeLayout
|
android:id="@+id/rl_username"
|
android:layout_width="fill_parent"
|
android:layout_height="wrap_content"
|
>
|
|
<EditText
|
android:id="@+id/et_username"
|
android:layout_width="fill_parent"
|
android:layout_height="40dip"
|
android:layout_alignParentLeft="true"
|
android:layout_alignParentStart="true"
|
android:layout_alignParentTop="true"
|
android:background="@drawable/ttw_edit_two_bg"
|
android:hint="请输入真实姓名"
|
android:paddingLeft="40dip"
|
android:paddingRight="85dip"
|
android:selectAllOnFocus="true"
|
android:singleLine="true"
|
android:textColor="#818181"
|
android:textColorHint="#c8c8c8"
|
android:textSize="15dip" />
|
|
<ImageView
|
android:id="@+id/iv_phoneuser"
|
android:layout_width="40dp"
|
android:layout_height="40dp"
|
android:layout_alignBottom="@id/et_username"
|
android:layout_alignTop="@id/et_username"
|
android:layout_alignLeft="@id/et_username"
|
android:paddingLeft="10dip"
|
android:paddingRight="10dip"
|
android:focusable="true"
|
android:scaleType="center"
|
android:src="@drawable/main_user"/>
|
</RelativeLayout>
|
|
<RelativeLayout
|
android:id="@+id/rl_yzm"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_below="@id/rl_username"
|
android:layout_marginBottom="5dip"
|
android:layout_marginTop="5dip" >
|
|
<EditText
|
android:id="@+id/et_identify"
|
android:layout_width="fill_parent"
|
android:layout_height="40dip"
|
android:background="@drawable/ttw_edit_two_bg"
|
android:hint="身份证号码"
|
android:paddingLeft="40dip"
|
android:paddingRight="20dip"
|
android:selectAllOnFocus="true"
|
android:singleLine="true"
|
android:textColor="#818181"
|
android:textColorHint="#c8c8c8"
|
android:textSize="14sp" />
|
|
<ImageView
|
android:id="@+id/iv_user"
|
android:layout_width="40dp"
|
android:layout_height="40dip"
|
android:layout_alignBottom="@id/et_identify"
|
android:layout_alignTop="@id/et_identify"
|
android:layout_alignLeft="@id/et_identify"
|
android:paddingLeft="10dip"
|
android:paddingRight="10dip"
|
android:focusable="true"
|
android:scaleType="center"
|
android:src="@drawable/main_identify_code"/>
|
</RelativeLayout>
|
|
<RelativeLayout
|
android:id="@+id/rl_pwd"
|
android:layout_width="fill_parent"
|
android:layout_height="wrap_content"
|
android:layout_below="@id/rl_username"
|
android:layout_marginBottom="5dip"
|
android:layout_marginTop="5dip" >
|
</RelativeLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="15dp"
|
android:orientation="horizontal">
|
|
<Button
|
android:id="@+id/btn_cancel"
|
android:layout_width="0dp"
|
android:layout_height="40dip"
|
android:layout_weight="1"
|
android:background="@drawable/ttw_login_in"
|
android:text="取消认证"
|
android:textColor="@android:color/white"
|
android:textSize="16sp" />
|
|
<Button
|
android:id="@+id/btn_in"
|
android:layout_width="0dp"
|
android:layout_height="40dip"
|
android:layout_marginLeft="15dp"
|
android:layout_weight="1"
|
android:background="@drawable/main_go_login"
|
android:text="立即认证"
|
android:textColor="@android:color/white"
|
android:textSize="16sp" />
|
|
</LinearLayout>
|
</LinearLayout>
|
|
</RelativeLayout>
|