Skip to content Skip to sidebar Skip to footer

Inputtype.type_text_flag_no_suggestions In Samsung

In my app, I have an EditText, with a button to change the keyboard input type. The code: ToggleCambiarTeclado.setOnClickListener(new OnClickListener() { @Override public v

Solution 1:

Later Samsung devices have SwiftKey keyboards built in. SwiftKey intentionally decided at some point to ignore Android's InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS.

A workaround is to use InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD, which is somewhat hacky, but an unfortunately common workaround.

XML variant: android:inputType="textVisiblePassword"

Solution 2:

Samsung's behave weirdly with most things. I've had this issue before and I seem to recall that changing the input type to email worked like a charm. Give it a try.

Post a Comment for "Inputtype.type_text_flag_no_suggestions In Samsung"