<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:tools="http://schemas.android.com/tools"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical"
|
tools:ignore="MissingDefaultResource">
|
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="60dp">
|
|
<ImageView
|
android:id="@+id/img_back"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:padding="15dp"
|
android:src="@mipmap/ml_ic_left_white" />
|
|
|
<TextView
|
android:id="@+id/tv_title"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerInParent="true"
|
android:layout_marginLeft="50dp"
|
android:layout_marginRight="50dp"
|
android:ellipsize="end"
|
android:gravity="center"
|
android:maxLines="2"
|
android:text="@string/ml_main_change_password"
|
android:textColor="@color/ml_white"
|
android:textSize="14sp" />
|
</RelativeLayout>
|
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="45dp"
|
android:layout_marginLeft="60dp"
|
android:layout_marginTop="15dp"
|
android:layout_marginRight="60dp">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:text="@string/ml_change_pwd_old"
|
android:textColor="@color/ml_white"
|
android:textSize="13sp" />
|
|
|
<com.maiyou.maiysdk.util.ClearableEditText
|
android:id="@+id/et_oldPwd"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_centerVertical="true"
|
android:layout_marginLeft="75dp"
|
android:background="@null"
|
android:gravity="center_vertical"
|
android:hint="@string/ml_change_pwd_old_hint"
|
android:imeOptions="flagNoFullscreen|actionNext"
|
android:maxLength="18"
|
android:maxLines="1"
|
android:paddingLeft="10dp"
|
android:singleLine="true"
|
android:textColor="@color/ml_white"
|
android:textColorHint="@color/milu_color_99"
|
android:textSize="13sp" />
|
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1dp"
|
android:layout_alignParentBottom="true"
|
android:background="#727272" />
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="45dp"
|
android:layout_marginLeft="60dp"
|
android:layout_marginRight="60dp">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:text="@string/ml_change_pwd_new"
|
android:textColor="@color/ml_white"
|
android:textSize="13sp" />
|
|
<com.maiyou.maiysdk.util.ClearableEditText
|
android:id="@+id/et_newPwd"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_marginLeft="75dp"
|
android:background="@null"
|
android:digits="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
android:gravity="center_vertical"
|
android:hint="@string/ml_change_pwd_new_hint"
|
android:imeOptions="flagNoFullscreen|actionNext"
|
android:maxLength="18"
|
android:maxLines="1"
|
android:paddingLeft="10dp"
|
android:paddingRight="10dp"
|
android:singleLine="true"
|
android:textColor="@color/ml_white"
|
android:textColorHint="@color/milu_color_99"
|
android:textSize="13sp" />
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1dp"
|
android:layout_alignParentBottom="true"
|
android:background="#727272" />
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="45dp"
|
android:layout_marginLeft="60dp"
|
android:layout_marginRight="60dp">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:text="@string/ml_change_pwd_new_again"
|
android:textColor="@color/ml_white"
|
android:textSize="13sp" />
|
|
<com.maiyou.maiysdk.util.ClearableEditText
|
android:id="@+id/et_newPwdAgain"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_marginLeft="75dp"
|
android:background="@null"
|
android:digits="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
android:gravity="center_vertical"
|
android:hint="@string/ml_change_pwd_new_again_hint"
|
android:imeOptions="flagNoFullscreen|actionNext"
|
android:maxLength="18"
|
android:maxLines="1"
|
android:paddingLeft="10dp"
|
android:paddingRight="10dp"
|
android:singleLine="true"
|
android:textColor="@color/ml_white"
|
android:textColorHint="@color/milu_color_99"
|
android:textSize="13sp" />
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1dp"
|
android:layout_alignParentBottom="true"
|
android:background="#727272" />
|
|
</RelativeLayout>
|
|
<TextView
|
android:id="@+id/tv_submit"
|
android:layout_width="242dp"
|
android:layout_height="40dp"
|
android:layout_gravity="center_horizontal"
|
android:layout_marginTop="35dp"
|
android:background="@drawable/ml_btn_login_red"
|
android:gravity="center"
|
android:text="@string/ml_change_pwd_submit"
|
android:textColor="#ffffffff"
|
android:textSize="16sp" />
|
|
</LinearLayout>
|