1
0
mirror of https://github.com/wulkanowy/wulkanowy.git synced 2025-01-18 21:16:48 -06:00

Add importantForAutofill to login fields (#788)

This commit is contained in:
Rafał Borcz 2020-05-01 12:54:01 +02:00 committed by GitHub
parent 17ac3cfd52
commit a1f864b35e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -118,6 +118,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:autofillHints="username|emailAddress"
android:importantForAutofill="yes"
android:inputType="textEmailAddress"
android:maxLines="1"
tools:targetApi="o" />
@ -151,6 +152,7 @@
android:autofillHints="password"
android:imeActionLabel="@string/login_sign_in"
android:imeOptions="actionDone"
android:importantForAutofill="yes"
android:inputType="textPassword"
android:maxLines="1"
app:fontFamily="sans-serif"

View File

@ -134,6 +134,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:autofillHints="username|emailAddress"
android:importantForAutofill="yes"
android:inputType="textEmailAddress"
android:maxLines="1"
tools:targetApi="o" />
@ -167,6 +168,7 @@
android:autofillHints="password"
android:imeActionLabel="@string/login_sign_in"
android:imeOptions="actionDone"
android:importantForAutofill="yes"
android:inputType="textPassword"
android:maxLines="1"
app:fontFamily="sans-serif"