Commit a54a2396 authored by Ricki Hirner's avatar Ricki Hirner 🐑

Enable Autofill for credentials

parent 0d8bff1c
......@@ -7,7 +7,8 @@
~ http://www.gnu.org/licenses/gpl.html
-->
<layout xmlns:android="http://schemas.android.com/apk/res/android">
<layout xmlns:tools="http://schemas.android.com/tools"
xmlns:android="http://schemas.android.com/apk/res/android">
<data>
<variable name="model" type="at.bitfire.icsdroid.ui.CredentialsFragment.CredentialsModel"/>
</data>
......@@ -41,7 +42,9 @@
android:inputType="textNoSuggestions"
android:hint="@string/add_calendar_user_name"
android:singleLine="true"
android:text="@={model.username}"/>
android:text="@={model.username}"
android:autofillHints="username"
tools:ignore="UnusedAttribute" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
......@@ -55,7 +58,9 @@
android:layout_height="wrap_content"
android:inputType="textPassword"
android:maxLines="1"
android:text="@={model.password}" />
android:text="@={model.password}"
android:autofillHints="password"
tools:ignore="UnusedAttribute" />
</com.google.android.material.textfield.TextInputLayout>
</LinearLayout>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment