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 message (for example a Toast message) would appear to inform the user to modify misspelled words before they can really submit.