|
|
@ -29,31 +29,34 @@
|
|
|
|
android:id="@+id/editName"
|
|
|
|
android:id="@+id/editName"
|
|
|
|
style="@style/textstyle"
|
|
|
|
style="@style/textstyle"
|
|
|
|
android:layout_width="250dp"
|
|
|
|
android:layout_width="250dp"
|
|
|
|
android:layout_height="47dp"
|
|
|
|
android:layout_height="40dp"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:background="#ceefecec"
|
|
|
|
android:background="#ceefecec"
|
|
|
|
android:hint="请输入用户名"
|
|
|
|
android:hint="请输入用户名"
|
|
|
|
android:inputType="number"
|
|
|
|
android:inputType="number"
|
|
|
|
android:lines="1"
|
|
|
|
android:lines="1"
|
|
|
|
android:maxLength="11"
|
|
|
|
android:maxLength="11"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:singleLine="true"
|
|
|
|
app:layout_constraintEnd_toEndOf="@+id/editResPwd"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintHorizontal_bias="0.0"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/textView"
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/editResPwd"
|
|
|
|
tools:ignore="MissingConstraints"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/editResPwd"
|
|
|
|
tools:layout_editor_absoluteX="55dp" />
|
|
|
|
tools:ignore="MissingConstraints" />
|
|
|
|
|
|
|
|
<!-- input password -->
|
|
|
|
<!-- input password -->
|
|
|
|
<EditText
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/editPwd"
|
|
|
|
android:id="@+id/editPwd"
|
|
|
|
style="@style/textstyle"
|
|
|
|
style="@style/textstyle"
|
|
|
|
android:layout_width="250dp"
|
|
|
|
android:layout_width="250dp"
|
|
|
|
android:layout_marginTop="72dp"
|
|
|
|
android:layout_height="40dp"
|
|
|
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:background="#ceefecec"
|
|
|
|
android:background="#ceefecec"
|
|
|
|
android:hint="请输入新密码"
|
|
|
|
android:hint="请输入新密码"
|
|
|
|
android:lines="1"
|
|
|
|
android:lines="1"
|
|
|
|
android:maxLength="16"
|
|
|
|
android:maxLength="16"
|
|
|
|
android:password="true"
|
|
|
|
android:password="true"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:singleLine="true"
|
|
|
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/editName"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/textView"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/textView"
|
|
|
|
tools:ignore="MissingConstraints"
|
|
|
|
tools:ignore="MissingConstraints"
|
|
|
|
tools:layout_editor_absoluteX="55dp" />
|
|
|
|
tools:layout_editor_absoluteX="55dp" />
|
|
|
@ -62,38 +65,32 @@
|
|
|
|
android:id="@+id/editResPwd"
|
|
|
|
android:id="@+id/editResPwd"
|
|
|
|
style="@style/textstyle"
|
|
|
|
style="@style/textstyle"
|
|
|
|
android:layout_width="250dp"
|
|
|
|
android:layout_width="250dp"
|
|
|
|
|
|
|
|
android:layout_height="40dp"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:background="#ceefecec"
|
|
|
|
android:background="#ceefecec"
|
|
|
|
android:hint="请再次输入新密码"
|
|
|
|
android:hint="请再次输入新密码"
|
|
|
|
android:lines="1"
|
|
|
|
android:lines="1"
|
|
|
|
android:maxLength="16"
|
|
|
|
android:maxLength="16"
|
|
|
|
android:password="true"
|
|
|
|
android:password="true"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:singleLine="true"
|
|
|
|
app:layout_constraintEnd_toEndOf="@+id/editPwd"
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/editName"
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/editPwd"
|
|
|
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/editPwd"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/editPwd"
|
|
|
|
tools:ignore="MissingConstraints" />
|
|
|
|
tools:ignore="MissingConstraints"
|
|
|
|
|
|
|
|
tools:layout_editor_absoluteX="55dp" />
|
|
|
|
<!-- the confirm button -->
|
|
|
|
<!-- the confirm button -->
|
|
|
|
<Button
|
|
|
|
<Button
|
|
|
|
android:id="@+id/btnConfirm"
|
|
|
|
android:id="@+id/btnConfirm"
|
|
|
|
style="@style/textstyle"
|
|
|
|
style="@style/textstyle"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:layout_height="50dp"
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
|
|
|
|
android:layout_marginRight="8dp"
|
|
|
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
|
|
|
android:background="#e137b7b5"
|
|
|
|
android:background="#e137b7b5"
|
|
|
|
android:onClick="OnMyConfirmClick"
|
|
|
|
android:onClick="OnMyConfirmClick"
|
|
|
|
android:text="@string/confirm"
|
|
|
|
android:text="@string/confirm"
|
|
|
|
android:textColor="#fff"
|
|
|
|
android:textColor="#fff"
|
|
|
|
android:textSize="20dp"
|
|
|
|
android:textSize="20dp"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
tools:ignore="MissingConstraints"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
tools:layout_editor_absoluteX="8dp"
|
|
|
|
app:layout_constraintHorizontal_bias="0.0"
|
|
|
|
tools:layout_editor_absoluteY="391dp" />
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/editName"
|
|
|
|
|
|
|
|
tools:ignore="MissingConstraints" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</android.support.constraint.ConstraintLayout>
|
|
|
|
</android.support.constraint.ConstraintLayout>
|