From 61747f170ffdaf75fff4ebed3363a844b83f741f Mon Sep 17 00:00:00 2001 From: Niko Diamadis Date: Sat, 18 Nov 2023 20:14:00 +0100 Subject: [PATCH] Improve password manager autofill compatibility --- app/src/main/res/layout/activity_login.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/src/main/res/layout/activity_login.xml b/app/src/main/res/layout/activity_login.xml index d37176af..f62713af 100644 --- a/app/src/main/res/layout/activity_login.xml +++ b/app/src/main/res/layout/activity_login.xml @@ -90,6 +90,7 @@ android:layout_height="wrap_content" android:singleLine="true" android:inputType="textUri" + android:importantForAutofill="no" android:hint="@string/gotify_url" /> @@ -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" /> @@ -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" />