I have a TextEdit where the user can enter their name. I do not want the editor to auto-correct spelling mistakes. I try to do :
myEditText.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS);
but this didn't do anything. Why?