Use endIconMode instead of passwordToggleEnabled, since passwordToggleEnabled is now deprecated

This commit is contained in:
Joshua Soberg 2020-09-05 12:52:03 -04:00
parent b0c56b38f7
commit 3a41344d1d

View file

@ -16,7 +16,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:hint="@string/dialog_label_enter_password" android:hint="@string/dialog_label_enter_password"
app:passwordToggleEnabled="true" > app:endIconMode="password_toggle" >
<com.google.android.material.textfield.TextInputEditText <com.google.android.material.textfield.TextInputEditText
android:id="@+id/passwordInput" android:id="@+id/passwordInput"