0

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.

Community
  • 1
  • 1
Akhil Sekharan
  • 12,467
  • 7
  • 40
  • 57

1 Answers1

1

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.

KishuDroid
  • 5,411
  • 4
  • 30
  • 47