修改登录页面发送验证码按钮动态效果

This commit is contained in:
2026-06-30 11:44:19 +08:00
parent 8cd802a826
commit e28e167085
7 changed files with 23 additions and 16 deletions

View File

@@ -156,16 +156,17 @@
<!-- 发送验证码按钮 -->
<android.widget.Button
android:id="@+id/sendCodeBtn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_width="110dp"
android:layout_height="36dp"
android:minWidth="0dp"
android:minHeight="0dp"
android:text="@string/send_sms_code"
android:textSize="16sp"
android:textColor="@color/white"
android:background="@drawable/rounded_blue_bg"
android:paddingHorizontal="12dp"
android:maxWidth="120dp"
android:textSize="14sp"
android:textColor="@color/send_code_text_color"
android:background="@drawable/send_code_btn_selector"
android:elevation="0dp"
android:stateListAnimator="@null"
android:gravity="center"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"

View File

@@ -15,9 +15,7 @@
android:layout_height="wrap_content"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
android:paddingStart="16dp"
android:paddingEnd="16dp">
app:layout_constraintEnd_toEndOf="parent">
<ImageView
android:id="@+id/backIcon"
android:layout_width="24dp"

View File

@@ -340,6 +340,7 @@
<string name="enter_phone_number">请输入手机号</string>
<string name="enter_verification_code">请输入验证码</string>
<string name="send_code">发送验证码</string>
<string name="resend_code">重新发送</string>
<string name="enter_new_password">请输入新密码</string>
<string name="enter_password_again">请再次输入新密码</string>
<string name="determine">确定</string>

View File

@@ -329,6 +329,7 @@
<string name="enter_phone_number">Enter phone number</string>
<string name="enter_verification_code">Enter verification code</string>
<string name="send_code">Send Code</string>
<string name="resend_code">Resend</string>
<string name="enter_new_password">Enter new password</string>
<string name="enter_password_again">Enter password again</string>
<string name="determine">Confirm</string>