0

I have tried

android:inputType="textFilter" 


android:inputType="textNoSuggestions"  


x.setInputType(InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS);

android:inputType="textVisiblePassword"

I can see there are a lot of things to try Android programmatically disable autocomplete/autosuggest for EditText in emulator

Is there any method that works on all devices? For instance those commands above don't work on my device, yet work for other people.

Community
  • 1
  • 1
Paul
  • 5,756
  • 6
  • 48
  • 78

1 Answers1

0
x.setInputType(InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD);

This works, even though the xml version does not. Probably won't work on all device I install it on. Weird issue.

Paul
  • 5,756
  • 6
  • 48
  • 78