Skip to content

Commit

Permalink
Merge pull request #326 from cyb3rko/autofill-improvement
Browse files Browse the repository at this point in the history
Improve password manager autofill compatibility
  • Loading branch information
jmattheis authored Nov 25, 2023
2 parents 0d423c1 + 61747f1 commit 6234c3a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/src/main/res/layout/activity_login.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
android:layout_height="wrap_content"
android:singleLine="true"
android:inputType="textUri"
android:importantForAutofill="no"
android:hint="@string/gotify_url" />

</com.google.android.material.textfield.TextInputLayout>
Expand All @@ -114,6 +115,8 @@
android:layout_height="wrap_content"
android:singleLine="true"
android:inputType="textPersonName"
android:importantForAutofill="yes"
android:autofillHints="username"
android:hint="@string/username" />

</com.google.android.material.textfield.TextInputLayout>
Expand All @@ -138,6 +141,8 @@
android:layout_height="wrap_content"
android:singleLine="true"
android:inputType="textPassword"
android:importantForAutofill="yes"
android:autofillHints="password"
android:hint="@string/password" />

</com.google.android.material.textfield.TextInputLayout>
Expand Down

0 comments on commit 6234c3a

Please sign in to comment.