allow toggling the password visibility in dialogs

This commit is contained in:
Bnyro 2022-10-05 21:40:15 +02:00
parent c6346c37e8
commit 977acaefbf
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