Sunday, December 12, 2010

[android-developers] EditText and auto-complete/correct

Off and on for months now, I've been trying to figure out how to get the
on-screen keyboard to list the auto-complete/correct choices above the
keyboard for various EditText views that I've used, and I haven't had
any luck. Right now I'm creating it as:

<EditText android:id="@+id/alarmMemo" android:layout_width="fill_parent"
android:layout_height="match_parent" android:imeOptions="actionNone"
android:inputType="text|textAutoComplete|textAutoCorrect|textShortMessage"
android:maxLength="150"></EditText>

But I'm not getting the auto-complete or autocorrect options. Is there
something I'm missing? Do I need to connect it to a dictionary, and if
so how?

Thank you!
Raymond

--
Raymond Rodgers
http://www.badlucksoft.com/

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

No comments:

Post a Comment