I use EditText to write text. Android auto-declaration of Android underlines the word until we touch the place. Now, if I enter a word without a space, the resulting text has an underline. This is because I use Html.toHtml (view.getText ()).
Now there are several answers that I expect, such as disabling auto-suggestion or using view.getText (). toString (), but I need both of them. I need an automatic suggestion feature as well as text formatting. An example that solves this problem is the Gmail application. You can write whatever you want in the EditText field and it will send an email without underlining the words.
source share