Files
qianyanAndroid/app/src/main/res/layout/activity_change_password.xml
被淹死的鱼 cd3b53759e 第一次提交
2026-03-11 18:26:29 +08:00

147 lines
5.4 KiB
XML

<?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:background="@color/white"
android:orientation="vertical"
tools:viewBindingIgnore="true">
<TextView
android:id="@+id/tv_change_password_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="30dp"
android:layout_marginTop="18dp"
android:layout_marginBottom="14dp"
android:text="设置密码"
android:textColor="#1A1A1A"
android:textSize="22dp"
android:textStyle="bold" />
<com.flyco.roundview.RoundLinearLayout
android:id="@+id/lin_old_password"
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_marginStart="30dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="30dp"
android:orientation="horizontal"
android:visibility="gone"
app:rv_backgroundColor="@color/white"
app:rv_cornerRadius="8dp"
app:rv_strokeColor="#F0F0F0"
app:rv_strokeWidth="1dp">
<EditText
android:id="@+id/et_old_password"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@null"
android:hint="请输入原密码"
android:inputType="textPassword"
android:paddingStart="12dp"
android:paddingEnd="12dp"
android:textColor="@color/black"
android:textColorHint="#DDDDDD"
android:textSize="18dp"
android:textStyle="bold" />
<ImageView
android:id="@+id/iv_old_password"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:paddingStart="12dp"
android:paddingEnd="12dp"
android:src="@drawable/ic_sign_input3" />
</com.flyco.roundview.RoundLinearLayout>
<com.flyco.roundview.RoundLinearLayout
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_marginStart="30dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="30dp"
android:orientation="horizontal"
app:rv_backgroundColor="@color/white"
app:rv_cornerRadius="8dp"
app:rv_strokeColor="#F0F0F0"
app:rv_strokeWidth="1dp">
<EditText
android:id="@+id/et_new_password"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@null"
android:hint="请输入新密码"
android:inputType="textPassword"
android:paddingStart="12dp"
android:paddingEnd="12dp"
android:textColor="@color/black"
android:textColorHint="#DDDDDD"
android:textSize="18dp"
android:textStyle="bold" />
<ImageView
android:id="@+id/iv_new_password"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:paddingStart="12dp"
android:paddingEnd="12dp"
android:src="@drawable/ic_sign_input3" />
</com.flyco.roundview.RoundLinearLayout>
<com.flyco.roundview.RoundLinearLayout
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_marginStart="30dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="30dp"
android:orientation="horizontal"
app:rv_backgroundColor="@color/white"
app:rv_cornerRadius="8dp"
app:rv_strokeColor="#F0F0F0"
app:rv_strokeWidth="1dp">
<EditText
android:id="@+id/et_sure_password"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@null"
android:hint="再次输入新密码"
android:inputType="textPassword"
android:paddingStart="12dp"
android:paddingEnd="12dp"
android:textColor="@color/black"
android:textColorHint="#DDDDDD"
android:textSize="18dp"
android:textStyle="bold" />
<ImageView
android:id="@+id/iv_sure_password"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:paddingStart="12dp"
android:paddingEnd="12dp"
android:src="@drawable/ic_sign_input3" />
</com.flyco.roundview.RoundLinearLayout>
<TextView
android:id="@+id/tv_change_password_submit"
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_marginStart="30dp"
android:layout_marginTop="80dp"
android:layout_marginEnd="30dp"
android:background="@drawable/verify_code_btn_bg"
android:enabled="false"
android:gravity="center"
android:text="完成"
android:textColor="@color/white"
android:textSize="14dp"
android:textStyle="bold" />
</LinearLayout>