I want an EditText without the autocorrection. I have set the textNoSuggestions inputType, as shown:
<EditText
android:id="@+id/txtTarga"
android:layout_width="150dp"
android:layout_height="wrap_content"
android:ems="10"
android:hint="Targa"
android:inputType="textNoSuggestions|textCapCharacters" >
The capitalize flag works, but it is still autocorrecting.
How can I disable it?
inputType textVisiblePassword will do the trick (most of the times, because as Commonsware pointed out, it stays a request and you'll might find yourself finding devices where it works, and devices where it doesn't work)
In Xml
In java source code
according to this, inputType attribute may or may not be supported by some devices .
However, this seems to work more often
You could try by code, something like this: