Akhil Sekharan
Akhil Sekharan

Reputation: 12683

Android EditText With Suggestions, but Without AutoCorrect

Is there a way I can get android Edit Text to show suggestions when the user type the word, but do not auto-correct the value. Autocorrect shall be shown only if user clicks on the suggestion.

I've checked the following answers... EditText without auto-correction, etc , but it doesn't show suggestions at all.

Thanks.

Upvotes: 0

Views: 2374

Answers (1)

KishuDroid
KishuDroid

Reputation: 5451

May be you are looking for Providing Auto-complete Suggestions for suggesting data.

And if you want to stop auto-correcting then try to add this line into your EditText.

android:inputType="textFilter"

Hope it will help you.

Upvotes: 1

Related Questions