Android Edittext: when contains misspelling word (with red underline over it), do not allow to submit
问题 I am recently making my first Android App and it has a Edittext area which plans to only allow users to input correctly spelled words. Basically I have already learned how to use layout properties such as Android:inputType to detect any misspelled words. Any misspelled words should be marked with a red underline. But I cannot find a way to prevent users from inputting misspelled words. The ideal situation is: if a user has input any misspelled words and clicks the submit button, a prompt