activity_chage_binding.xml 3.51 KB
<?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="#ffffffff"
    android:orientation="vertical">
    <RelativeLayout
        android:id="@+id/title"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@color/login_text_blue"
        android:minHeight="50dp" >

        <ImageView
            android:id="@+id/cancel"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:paddingLeft="20dp"
            android:paddingRight="20dp"
            android:src="@mipmap/title_back" />

        <TextView
            android:id="@+id/menu_title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerInParent="true"
            android:text="@string/string_electroniccard_change_bangding"
            android:textColor="@android:color/white"
            android:textSize="22sp" />
    </RelativeLayout>
    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_below="@id/title"
        android:background="#ffffffff"
        android:orientation="vertical"
        android:paddingLeft="250dp"
        android:paddingRight="250dp" >

        <EditText
            android:id="@+id/et_phonenumber"
            style="@style/login_register_edit_style"
            android:layout_marginTop="150dp"
            android:hint="手机号"
            android:inputType="phone" />

        <TextView
            android:id="@+id/phonenumber_error_hint"
            style="@style/registererrhint_style"
            android:layout_below="@id/et_phonenumber" />

        <LinearLayout
            android:id="@+id/rl_authcode"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@id/et_phonenumber"
            android:layout_marginTop="30dp"
            android:orientation="horizontal">

            <EditText
                android:id="@+id/et_authcode"
                style="@style/login_register_edit_rect_style"
                android:layout_marginRight="-4px"
                android:layout_weight="1"
                android:hint="验证码"
                android:numeric="integer" />

            <Button
                android:id="@+id/btn_authcode"
                style="@style/login_register_btn_authcode_rect_style"
                android:layout_marginLeft="0px"
                android:layout_marginTop="0px"
                android:layout_weight="2"
                android:text="获取验证码"
                android:textColor="@color/btn_text_color" />
        </LinearLayout>

        <TextView
            android:id="@+id/authcode_error_hint"
            style="@style/registererrhint_style"
            android:layout_below="@id/rl_authcode" />

        <TextView
            android:id="@+id/password_error_hint"
            style="@style/registererrhint_style"
            android:layout_below="@id/rl_authcode" />

        <Button
            android:id="@+id/btn_register"
            style="@style/button_login_register_style"
            android:layout_below="@id/rl_authcode"
            android:layout_marginTop="30dp"
            android:text="@string/ok" />
    </RelativeLayout>

</RelativeLayout>