Add autofill hints to password fields

Fixes #215
This commit is contained in:
Luca Weiss 2018-08-28 18:16:02 +02:00
parent b2619bf60f
commit aa5db5ab1b
No known key found for this signature in database
GPG key ID: 85E3F341DDEC37A8
4 changed files with 14 additions and 7 deletions

View file

@ -35,7 +35,8 @@
android:id="@+id/passwordEdit"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:inputType="textPassword" />
android:inputType="textPassword"
android:autofillHints="password" />
</android.support.design.widget.TextInputLayout>
@ -44,7 +45,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/settings_hint_password_confirm"
android:inputType="textPassword" />
android:inputType="textPassword"
android:autofillHints="password" />
<TextView
android:id="@+id/toShortWarning"

View file

@ -70,7 +70,8 @@
android:id="@+id/introPasswordEdit"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:inputType="textPassword" />
android:inputType="textPassword"
android:autofillHints="password" />
</android.support.design.widget.TextInputLayout>
@ -79,7 +80,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/settings_hint_password_confirm"
android:inputType="textPassword" />
android:inputType="textPassword"
android:autofillHints="password" />
</LinearLayout>

View file

@ -21,7 +21,8 @@
android:id="@+id/passwordEdit"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:inputType="textPassword" />
android:inputType="textPassword"
android:autofillHints="password" />
</android.support.design.widget.TextInputLayout>
@ -30,7 +31,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/settings_hint_password_confirm"
android:inputType="textPassword" />
android:inputType="textPassword"
android:autofillHints="password" />
<android.support.v7.widget.ButtonBarLayout
android:layout_width="match_parent"

View file

@ -29,7 +29,8 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:imeOptions="actionDone"
android:inputType="textPassword" />
android:inputType="textPassword"
android:autofillHints="password" />
</android.support.design.widget.TextInputLayout>