android - Disable misspelling flag of specific words in app? -
our company's name comes misspelled (the red underline) when typed edittext fields in our app. there way can disable misspelling flag specific word avoid nagging feature?
and before suggests android:inputtype="textnosuggestions"
, still spellcheck available specific field, , exclude our company name.
i have no idea if it'll work, can try putting android.text.style.localespan
on each occurrence of company name, using locale.root
(which has no language) target locale.
(most of time encounter charsequence
in text view can cast spannable
. if can't, copy contents spannablestringbuilder
.)
Comments
Post a Comment