Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I disable the autocorrect bar on Android keyboards?

The problem is the autocorrect bar on the Android soft keyboard is covering my ListView (on one phone only!). I'm hoping to fix this by simply removing the autocorrect bar. Any ideas?

like image 597
Quentamia Avatar asked Dec 28 '22 02:12

Quentamia


1 Answers

Add this inputType : InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS, you can add it with a "|" in the xml and in java if you have already an inputType on your view.

like image 189
FUBUs Avatar answered Dec 29 '22 15:12

FUBUs