0

I am making an android application that checks user's spelling skills, so it is mandatory not to get any help from his keyboard's auto-correction feature.

Can I disable it (auto-correction / auto-completion) through my application or I should create my own custom keyboard?

Android Official Documentation - Input Type

G. Spyridakis
  • 431
  • 1
  • 10
  • 21
  • 2
    Possible duplicate of [EditText without auto-correction, etc](http://stackoverflow.com/questions/3799840/edittext-without-auto-correction-etc) – Gauthier Aug 18 '16 at 00:54
  • You can see the discussion at http://stackoverflow.com/q/3799840/2661303 and in many other discussions. – lionscribe Aug 18 '16 at 00:55

2 Answers2

1

Try this:

android:inputType="textNoSuggestions" 

Ref: Android Dev Site

sumandas
  • 555
  • 7
  • 20
0

In order to accomplish the above programmatically:

view_id.setInputType(InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS);
G. Spyridakis
  • 431
  • 1
  • 10
  • 21