forked from github/wulkanowy-mirror
Add importantForAutofill to login fields (#788)
This commit is contained in:
parent
17ac3cfd52
commit
a1f864b35e
@ -118,6 +118,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:autofillHints="username|emailAddress"
|
android:autofillHints="username|emailAddress"
|
||||||
|
android:importantForAutofill="yes"
|
||||||
android:inputType="textEmailAddress"
|
android:inputType="textEmailAddress"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
tools:targetApi="o" />
|
tools:targetApi="o" />
|
||||||
@ -151,6 +152,7 @@
|
|||||||
android:autofillHints="password"
|
android:autofillHints="password"
|
||||||
android:imeActionLabel="@string/login_sign_in"
|
android:imeActionLabel="@string/login_sign_in"
|
||||||
android:imeOptions="actionDone"
|
android:imeOptions="actionDone"
|
||||||
|
android:importantForAutofill="yes"
|
||||||
android:inputType="textPassword"
|
android:inputType="textPassword"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
app:fontFamily="sans-serif"
|
app:fontFamily="sans-serif"
|
||||||
|
@ -134,6 +134,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:autofillHints="username|emailAddress"
|
android:autofillHints="username|emailAddress"
|
||||||
|
android:importantForAutofill="yes"
|
||||||
android:inputType="textEmailAddress"
|
android:inputType="textEmailAddress"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
tools:targetApi="o" />
|
tools:targetApi="o" />
|
||||||
@ -167,6 +168,7 @@
|
|||||||
android:autofillHints="password"
|
android:autofillHints="password"
|
||||||
android:imeActionLabel="@string/login_sign_in"
|
android:imeActionLabel="@string/login_sign_in"
|
||||||
android:imeOptions="actionDone"
|
android:imeOptions="actionDone"
|
||||||
|
android:importantForAutofill="yes"
|
||||||
android:inputType="textPassword"
|
android:inputType="textPassword"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
app:fontFamily="sans-serif"
|
app:fontFamily="sans-serif"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user