Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 13e9d7c7 authored by Ricki Hirner's avatar Ricki Hirner
Browse files

Enable Autofill for login screen

parent 4c4cbf6f
Loading
Loading
Loading
Loading
+12 −4
Original line number Diff line number Diff line
@@ -66,8 +66,10 @@
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content"
                            android:text="@={model.username}"
                            android:autofillHints="emailAddress"
                            app:error="@{model.usernameError}"
                            android:inputType="textEmailAddress"/>
                            android:inputType="textEmailAddress"
                            tools:ignore="UnusedAttribute" />
                    </com.google.android.material.textfield.TextInputLayout>
                    <com.google.android.material.textfield.TextInputLayout
                        android:layout_width="match_parent"
@@ -78,9 +80,11 @@
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content"
                            android:text="@={model.password}"
                            android:autofillHints="password"
                            app:error="@{model.passwordError}"
                            android:fontFamily="monospace"
                            android:inputType="textPassword"/>
                            android:inputType="textPassword"
                            tools:ignore="UnusedAttribute" />
                    </com.google.android.material.textfield.TextInputLayout>
                </LinearLayout>

@@ -119,8 +123,10 @@
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content"
                            android:text="@={model.username}"
                            android:autofillHints="username"
                            app:error="@{model.usernameError}"
                            android:inputType="textEmailAddress"/>
                            android:inputType="textEmailAddress"
                            tools:ignore="UnusedAttribute" />
                    </com.google.android.material.textfield.TextInputLayout>
                    <com.google.android.material.textfield.TextInputLayout
                        android:layout_width="match_parent"
@@ -132,8 +138,10 @@
                            android:layout_height="wrap_content"
                            android:fontFamily="monospace"
                            android:text="@={model.password}"
                            android:autofillHints="password"
                            app:error="@{model.passwordError}"
                            android:inputType="textPassword"/>
                            android:inputType="textPassword"
                            tools:ignore="UnusedAttribute" />
                    </com.google.android.material.textfield.TextInputLayout>
                </LinearLayout>