On Jun 17, 2:23 pm, creativepragmatic <[email protected]>
wrote:
> Thank you for your help Bhavesh. My question might have been vague.
> What I am trying to do is get the auto correct text to show above the
> soft keyboard in addition to the auto complete options. It always
> shows in EditText but not AutoCompleteTextView.  I am wondering if
> what I am trying to do is impossible or if I should attempt a work
> around.

Clearing the auto-complete flag set by AutoCompleteTextView's
constructor seems to work, although it's probably a bad idea to do so.

If you want to take your chances, here's the code:
int inputType = mEditText.getInputType();
inputType &= ~EditorInfo.TYPE_TEXT_FLAG_AUTO_COMPLETE;
mEditText.setRawInputType(inputType);

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to