android - EditText without auto-correction, etc -


My edit text needs to accept input from partial words, names, etc. At least on my HTC desire, this is difficult because the keyboard wants to suggest and / or correct some entries (e.g., "change" for "Gore")

You can do this with code. Set the input type of EditText as below:

  txtEmail = (EditText) findViewById (R.id.txtEmail); TxtEmail.setInputType (InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS);  

See

for a list of all available input type options

Comments