<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:background="@color/background"
|
android:orientation="vertical" >
|
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="48dp"
|
android:gravity="center_vertical" >
|
|
<ImageView
|
android:id="@+id/iv_back"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentLeft="true"
|
android:layout_centerVertical="true"
|
android:src="@drawable/mg_float_back" />
|
|
<TextView
|
android:id="@+id/title"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerInParent="true"
|
android:text="修改密码"
|
android:textColor="@color/text_4c"
|
android:textSize="16sp" />
|
|
<TextView
|
android:id="@+id/go_game"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentRight="true"
|
android:layout_centerVertical="true"
|
android:layout_marginRight="12dp"
|
android:background="@drawable/xy_quick_login_save_bg"
|
android:gravity="center"
|
android:padding="6dp"
|
android:text="回到游戏"
|
android:textColor="@color/white"
|
android:textSize="12sp" />
|
</RelativeLayout>
|
|
<ImageView
|
android:layout_width="match_parent"
|
android:layout_height="0.5dp"
|
android:src="@color/text_999" />
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="40dp"
|
android:layout_marginTop="20dp"
|
android:orientation="horizontal"
|
android:paddingLeft="20dp"
|
android:paddingRight="20dp" >
|
|
<TextView
|
android:id="@+id/xy_activity_modify_pwd_by_pwd"
|
android:layout_width="0dp"
|
android:layout_height="40dp"
|
android:layout_weight="1"
|
android:background="@drawable/float_usercenter_left_choose"
|
android:gravity="center"
|
android:text="通过原密码"
|
android:textColor="@color/white"
|
android:textSize="14sp" />
|
|
<TextView
|
android:id="@+id/xy_activity_modify_pwd_by_phone"
|
android:layout_width="0dp"
|
android:layout_height="40dp"
|
android:layout_weight="1"
|
android:background="@drawable/float_usercenter_right"
|
android:gravity="center"
|
android:text="通过绑定手机号"
|
android:textColor="@color/text_4c"
|
android:textSize="14sp" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/xy_activity_modify_pwd_usepwd"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical"
|
android:padding="20dp" >
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal" >
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="您的账号为:"
|
android:textColor="@color/text_4c"
|
android:textSize="14sp" />
|
|
<TextView
|
android:id="@+id/xy_activity_modify_pwd_account"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="mg123456"
|
android:textColor="@color/btn_bg"
|
android:textSize="14sp" />
|
</LinearLayout>
|
|
<EditText
|
android:id="@+id/xy_activity_modify_pwd_old_pwd"
|
android:layout_width="match_parent"
|
android:layout_height="40dp"
|
android:layout_marginTop="12dp"
|
android:background="@drawable/edittext_bg"
|
android:gravity="center_vertical"
|
android:hint="请输入原密码"
|
android:lines="1"
|
android:paddingLeft="12dp"
|
android:password="true"
|
android:textColor="@color/text_4c"
|
android:textSize="14sp" />
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="40dp"
|
android:layout_marginTop="20dp"
|
android:background="@drawable/edittext_bg"
|
android:gravity="center_vertical"
|
android:orientation="horizontal"
|
android:paddingLeft="12dp"
|
android:paddingRight="12dp" >
|
|
<EditText
|
android:id="@+id/xy_activity_modify_pwd_new_pwd"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:background="@null"
|
android:hint="请输入新密码"
|
android:inputType="textPassword"
|
android:lines="1"
|
android:textColor="@color/text_4c"
|
android:textSize="14sp" />
|
|
<ImageView
|
android:id="@+id/xy_activity_modify_pwd_new_pwd_see"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:background="@drawable/mg_float_eye_close" />
|
</LinearLayout>
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/xy_activity_modify_pwd_usephone"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical"
|
android:padding="20dp"
|
android:visibility="gone" >
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal" >
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="您的账号为:"
|
android:textColor="@color/text_4c"
|
android:textSize="14sp" />
|
|
<TextView
|
android:id="@+id/xy_activity_modify_pwd_usephone_account"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="mg123456"
|
android:textColor="@color/btn_bg"
|
android:textSize="14sp" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal" >
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="您的绑定手机号为:"
|
android:textColor="@color/text_4c"
|
android:textSize="14sp" />
|
|
<TextView
|
android:id="@+id/xy_activity_modify_pwd_usephone_phone"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="123456"
|
android:textColor="@color/btn_bg"
|
android:textSize="14sp" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="40dp"
|
android:layout_marginTop="20dp"
|
android:background="@drawable/edittext_bg"
|
android:gravity="center_vertical"
|
android:orientation="horizontal"
|
android:paddingLeft="12dp"
|
android:paddingRight="12dp" >
|
|
<EditText
|
android:id="@+id/xy_activity_modify_pwd_usephone_code"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:background="@null"
|
android:hint="请输入验证码"
|
android:inputType="number"
|
android:lines="1"
|
android:textColor="@color/text_4c"
|
android:textSize="14sp" />
|
|
<TextView
|
android:id="@+id/xy_activity_modify_pwd_usephone_getcode"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="获取验证码"
|
android:textColor="@color/btn_bg"
|
android:textSize="14sp" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="40dp"
|
android:layout_marginTop="20dp"
|
android:background="@drawable/edittext_bg"
|
android:gravity="center_vertical"
|
android:orientation="horizontal"
|
android:paddingLeft="12dp"
|
android:paddingRight="12dp" >
|
|
<EditText
|
android:id="@+id/xy_activity_modify_pwd_usephone_new_pwd"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:background="@null"
|
android:hint="请输入新密码"
|
android:inputType="textPassword"
|
android:lines="1"
|
android:textColor="@color/text_4c"
|
android:textSize="14sp" />
|
|
<ImageView
|
android:id="@+id/xy_activity_modify_pwd_usephone_new_pwd_see"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:background="@drawable/mg_float_eye_close" />
|
</LinearLayout>
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/xy_activity_modify_pwd_usephone_nobind"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical"
|
android:padding="20dp"
|
android:visibility="gone" >
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal" >
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="您的账号为:"
|
android:textColor="@color/text_4c"
|
android:textSize="14sp" />
|
|
<TextView
|
android:id="@+id/xy_activity_modify_pwd_usephone_nobind_account"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="mg123456"
|
android:textColor="@color/btn_bg"
|
android:textSize="14sp" />
|
</LinearLayout>
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="12dp"
|
android:text="您尚未绑定手机号,请先前往绑定手机号,绑定后可修改密码"
|
android:textColor="@color/text_4c"
|
android:textSize="14sp" />
|
</LinearLayout>
|
|
<TextView
|
android:id="@+id/xy_activity_modify_pwd_ok"
|
android:layout_width="match_parent"
|
android:layout_height="40dp"
|
android:layout_marginLeft="20dp"
|
android:layout_marginRight="20dp"
|
android:background="@drawable/xy_quick_login_save_bg"
|
android:gravity="center"
|
android:text="确定"
|
android:textColor="@color/white"
|
android:textSize="16sp" />
|
|
</LinearLayout>
|