<?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"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical">
|
|
<RelativeLayout
|
android:id="@+id/title_layout"
|
android:layout_width="match_parent"
|
android:layout_height="44dp">
|
|
<LinearLayout
|
android:id="@+id/back_img"
|
android:layout_width="50dp"
|
android:layout_height="match_parent"
|
android:gravity="center">
|
|
<TextView
|
android:layout_width="13dp"
|
android:layout_height="13dp"
|
android:background="@mipmap/ml_back_icon" />
|
</LinearLayout>
|
|
<TextView
|
android:id="@+id/tv_titles"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerInParent="true"
|
android:text="@string/ml_select_login_name"
|
android:textColor="@color/ml_white"
|
android:textSize="14dp" />
|
|
</RelativeLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1dp"
|
android:alpha="0.5"
|
android:background="@color/milu_color_de"
|
android:visibility="gone" />
|
|
<androidx.core.widget.NestedScrollView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:scrollbars="none">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="58dp"
|
android:layout_marginRight="58dp"
|
android:gravity="center"
|
android:orientation="vertical">
|
|
<ImageView
|
android:id="@+id/iv_logo"
|
android:layout_width="96dp"
|
android:layout_height="47dp"
|
android:layout_gravity="center_horizontal"
|
android:layout_marginTop="15dp" />
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="20dp"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_vertical"
|
android:minWidth="50dp"
|
android:text="@string/ml_login_account"
|
android:textColor="@color/ml_white"
|
android:textSize="13dp" />
|
|
<com.maiyou.maiysdk.util.ClearableEditText
|
android:id="@+id/ed_phone"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_gravity="center_vertical"
|
android:layout_weight="4"
|
android:background="@null"
|
android:gravity="center_vertical"
|
android:hint="@string/ml_login_please_input_account"
|
android:imeOptions="flagNoFullscreen|actionNext"
|
android:inputType="textEmailAddress"
|
android:maxLines="1"
|
android:textColor="@color/ml_white"
|
android:textColorHint="@color/milu_color_99"
|
android:textSize="13sp" />
|
|
<RelativeLayout
|
android:id="@+id/rl_pass_list"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="0.5">
|
|
<ImageView
|
android:id="@+id/iv_pass_list"
|
android:layout_width="18dp"
|
android:layout_height="18dp"
|
android:layout_centerInParent="true"
|
android:background="@mipmap/down" />
|
</RelativeLayout>
|
</LinearLayout>
|
|
<View
|
android:id="@+id/v_xhlist"
|
android:layout_width="match_parent"
|
android:layout_height="1dp"
|
android:alpha="0.5"
|
android:background="@color/ml_color_72" />
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_vertical"
|
android:minWidth="50dp"
|
android:text="@string/ml_login_password"
|
android:textColor="@color/ml_white"
|
android:textSize="13dp" />
|
|
<com.maiyou.maiysdk.util.ClearableEditText
|
android:id="@+id/ed_password"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_gravity="center_vertical"
|
android:layout_weight="4"
|
android:background="@null"
|
android:gravity="center_vertical"
|
android:hint="@string/ml_change_pwd_new_hint"
|
android:imeOptions="flagNoFullscreen|actionNext"
|
android:inputType="textPassword"
|
android:maxLines="1"
|
android:textColor="@color/ml_white"
|
android:textColorHint="@color/milu_color_99"
|
android:textSize="13sp" />
|
|
<RelativeLayout
|
android:id="@+id/rl_eye"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="0.5">
|
|
<ImageView
|
android:id="@+id/iv_eye"
|
android:layout_width="15dp"
|
android:layout_height="8dp"
|
android:layout_centerInParent="true"
|
android:background="@mipmap/notsee" />
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1dp"
|
android:alpha="0.5"
|
android:background="@color/ml_color_72" />
|
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="12dp"
|
android:orientation="horizontal">
|
|
<TextView
|
android:id="@+id/tv_zhuce"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:padding="3dp"
|
android:text="@string/ml_login_fast"
|
android:textColor="@color/ml_white"
|
android:textSize="13dp" />
|
|
<TextView
|
android:id="@+id/tvforget"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentRight="true"
|
android:gravity="center"
|
android:padding="3dp"
|
android:text="@string/ml_login_forget"
|
android:textColor="@color/milu_orange"
|
android:textSize="13dp" />
|
</RelativeLayout>
|
|
|
</LinearLayout>
|
|
<Button
|
android:id="@+id/bt_tologin"
|
android:layout_width="match_parent"
|
android:layout_height="39dp"
|
android:layout_centerInParent="true"
|
android:layout_marginTop="25dp"
|
android:background="@drawable/ml_btn_login_red"
|
android:gravity="center"
|
android:text="@string/ml_login_login_in"
|
android:textColor="@color/milu_whitecolor"
|
android:textSize="16sp" />
|
|
</LinearLayout>
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
android:layout_marginBottom="15dp"
|
android:gravity="center"
|
android:orientation="horizontal">
|
|
<ImageView
|
android:id="@+id/img_cb"
|
android:layout_width="12dp"
|
android:layout_height="12dp"
|
android:background="@mipmap/hw_account_xz" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_horizontal"
|
android:layout_marginLeft="3dp"
|
android:text="@string/ml_select_login_agree"
|
android:textColor="#ffffffff"
|
android:textSize="10sp" />
|
|
<TextView
|
android:id="@+id/tv_userAgreement"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_horizontal"
|
android:autoLink="all"
|
android:text="@string/ml_select_login_agree_01"
|
android:textColor="@color/milu_orange"
|
android:textSize="10sp" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_horizontal"
|
android:text="@string/ml_select_login_agree_02"
|
android:textColor="#ffffffff"
|
android:textSize="10sp" />
|
|
<TextView
|
android:id="@+id/tv_privacyPolicy"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_horizontal"
|
android:text="@string/ml_select_login_agree_03"
|
android:textColor="@color/milu_orange"
|
android:textSize="10sp" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|