Merge pull request #1497 from Bnyro/master

allow toggling the password visibility in dialogs
This commit is contained in:
Bnyro 2022-10-05 21:40:40 +02:00 committed by GitHub
commit 9851da67e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical">
<TextView
@ -15,6 +16,7 @@
<com.google.android.material.textfield.TextInputLayout
style="@style/CustomDialogTextInputLayout"
app:passwordToggleEnabled="true"
android:hint="@string/password">
<com.google.android.material.textfield.TextInputEditText

View File

@ -2,6 +2,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical">
<TextView
@ -26,6 +27,7 @@
<com.google.android.material.textfield.TextInputLayout
style="@style/CustomDialogTextInputLayout"
app:passwordToggleEnabled="true"
android:hint="@string/password">
<com.google.android.material.textfield.TextInputEditText