Skip to content Skip to sidebar Skip to footer

Android Oreo Disable Autofill For Edittext

I'm trying to disable autofill for all EditText's except my login screen. And no success yet. There is always 'Autofill' option after longPress on editText. IMPORTANT_FOR_AUTOFILL_

Solution 1:

maybe you have the same problem as I had I mixed-up suggestion and auto-fill, then I set importantForAutofill to false and everything was fine

Solution 2:

you can pass "no" importantAuroFill e.g.

<EditTextandroid:layout_width="match_parent"android:layout_height="wrap_content"android:importantForAutofill="no" />

Post a Comment for "Android Oreo Disable Autofill For Edittext"