Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
aids61517
2 years agoNew Contributor
How to build an app supporting 1Password?
Hi, I'm an Android Developer
I found my company's app doesn't support 1Password well, so I do some tests.
I build an app like below
with layout xml
```
<?xml version="1.0" encoding="...
aids61517
2 years agoNew Contributor
By adding android:importantForAutofill="yes", layout xml is
```
<?xml version="1.0" encoding="utf-8"?>
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true">
<EditText
android:id="@+id/emailEditText"
android:layout_width="match_parent"
android:layout_height="150dp"
android:autofillHints="username"
android:importantForAutofill="yes"
android:inputType="textEmailAddress"
app:layout_constraintTop_toTopOf="parent" />
<EditText
android:id="@+id/passwordEditText"
android:layout_width="match_parent"
android:layout_height="150dp"
android:autofillHints="password"
android:importantForAutofill="yes"
android:inputType="textPassword"
app:layout_constraintTop_toBottomOf="@+id/emailEditText" />
```
Still not working on emailEditText
And Still working by changing emailEditText to usernameEditText