Skip to content

Commit

Permalink
feat: 账号界面
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim-shop committed May 25, 2023
1 parent bc4d779 commit 7ab559b
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions app/src/main/res/layout/dialog_login.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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="wrap_content"
android:paddingHorizontal="32dp"
android:paddingTop="32dp">

<com.google.android.material.textfield.TextInputLayout
android:id="@+id/dl_til_ac"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/dialog_login_input_account"
app:counterEnabled="true"
app:counterMaxLength="16"
app:endIconMode="clear_text"
app:errorEnabled="true"
app:layout_constraintTop_toTopOf="parent"
app:startIconDrawable="@drawable/ic_account_circle_24">

<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text|textPersonName"
tools:text="NAME" />

</com.google.android.material.textfield.TextInputLayout>

<com.google.android.material.textfield.TextInputLayout
android:id="@+id/dl_til_pw"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/dialog_login_input_password"
app:counterEnabled="true"
app:counterMaxLength="16"
app:endIconMode="password_toggle"
app:errorEnabled="true"
app:layout_constraintTop_toBottomOf="@id/dl_til_ac"
app:startIconDrawable="@drawable/ic_password_24">

<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textPassword"
tools:text="PASSWORD" />

</com.google.android.material.textfield.TextInputLayout>


</androidx.constraintlayout.widget.ConstraintLayout>

0 comments on commit 7ab559b

Please sign in to comment.