|
|
@@ -68,19 +68,20 @@
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginLeft="@dimen/common_spacing"
|
|
|
+ android:layout_marginTop="@dimen/common_spacing"
|
|
|
android:layout_marginRight="@dimen/common_spacing_7x"
|
|
|
android:background="@drawable/bg_common_input"
|
|
|
android:hint="@string/please_input_admin_username"
|
|
|
+ android:maxLength="20"
|
|
|
android:maxLines="1"
|
|
|
android:paddingHorizontal="@dimen/common_spacing_1_5x"
|
|
|
android:paddingVertical="2dp"
|
|
|
android:singleLine="true"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="@dimen/common_text_size"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/admin_username_tv"
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintStart_toEndOf="@+id/admin_username_tv"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/admin_username_tv" />
|
|
|
+ app:layout_constraintStart_toStartOf="@+id/admin_username_tv"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/admin_username_tv" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/password_tv"
|
|
|
@@ -90,22 +91,22 @@
|
|
|
android:text="@string/set_password"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="@dimen/common_text_size"
|
|
|
- app:layout_constraintEnd_toEndOf="@+id/admin_username_tv"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/admin_username_tv" />
|
|
|
+ app:layout_constraintStart_toStartOf="@+id/admin_username_tv"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/admin_username_et" />
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
android:id="@+id/container_password"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="@dimen/init_set_admin_account_et_height"
|
|
|
android:layout_marginLeft="@dimen/common_spacing"
|
|
|
+ android:layout_marginTop="@dimen/common_spacing"
|
|
|
android:layout_marginRight="@dimen/common_spacing_7x"
|
|
|
app:boxBackgroundMode="none"
|
|
|
app:endIconMode="password_toggle"
|
|
|
app:hintEnabled="false"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/password_tv"
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintStart_toEndOf="@+id/password_tv"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/password_tv">
|
|
|
+ app:layout_constraintStart_toStartOf="@+id/password_tv"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/password_tv">
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatEditText
|
|
|
android:id="@+id/password_et"
|
|
|
@@ -114,6 +115,7 @@
|
|
|
android:background="@drawable/bg_common_input"
|
|
|
android:hint="@string/please_input_password"
|
|
|
android:inputType="textPassword"
|
|
|
+ android:maxLength="20"
|
|
|
android:maxLines="1"
|
|
|
android:minHeight="0dp"
|
|
|
android:paddingHorizontal="@dimen/common_spacing"
|
|
|
@@ -131,21 +133,21 @@
|
|
|
android:text="@string/repeat_password"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="@dimen/common_text_size"
|
|
|
- app:layout_constraintEnd_toEndOf="@+id/password_tv"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/password_tv" />
|
|
|
+ app:layout_constraintStart_toStartOf="@+id/password_tv"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/container_password" />
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
android:id="@+id/container_repeat_password"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="@dimen/init_set_admin_account_et_height"
|
|
|
android:layout_marginLeft="@dimen/common_spacing"
|
|
|
+ android:layout_marginTop="@dimen/common_spacing"
|
|
|
android:layout_marginRight="@dimen/common_spacing_7x"
|
|
|
app:endIconMode="password_toggle"
|
|
|
app:hintEnabled="false"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/repeat_password_tv"
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintStart_toEndOf="@+id/repeat_password_tv"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/repeat_password_tv">
|
|
|
+ app:layout_constraintStart_toStartOf="@+id/repeat_password_tv"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/repeat_password_tv">
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatEditText
|
|
|
android:id="@+id/repeat_password_et"
|
|
|
@@ -154,6 +156,7 @@
|
|
|
android:background="@drawable/bg_common_input"
|
|
|
android:hint="@string/please_input_repeat_password"
|
|
|
android:inputType="textPassword"
|
|
|
+ android:maxLength="20"
|
|
|
android:maxLines="1"
|
|
|
android:minHeight="0dp"
|
|
|
android:paddingHorizontal="@dimen/common_spacing"
|