I have this code:
AutoCompleteTextView et = new AutoCompleteTextView(context); et.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS);
With this code, AutoCompleteTextView
prevents the backspace key from working! If I change the class type to EditText, the same behavior will happen.
But the backspace key works with this code:
AutoCompleteTextView et = new AutoCompleteTextView(context); et.setInputType(InputType.TYPE_CLASS_TEXT);
I don't need automatic keyboard suggestions, so I'm using AutocompleteTextView! Any suggestions?
I am testing Android 2.3.
source share