android - Auto-correction does not work with autocompletetextview? -


it seems there no way enable auto-correction autocompletetextview , multiautocompletetextview in android.

  1. auto-correction works standard edittext.
  2. as autocompletetextview or multiautocompletetextview used, auto-correction ceases work.

i've tried bunch of potential workarounds none of them working (i.e. using various input options in xml file).

has been able enable auto-correction on autocompletetextview or multiautocompletetextview , still able feed list of suggestion adapter? much!

autocompletetextview set inputtype.type_text_flag_auto_complete flag on input view.

that flag make ime stop giving auto correct suggestions.

you can extend autocompletetextview , remove flag below

public socialcompletetextview(context context) {     super(context);     int removed = this.getinputtype() & (this.getinputtype() ^ inputtype.type_text_flag_auto_complete);     this.setinputtype(removed); } 

Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -