4

Is it possible to have the AutoCompleteTextView show the suggestions above the keyboard just like when using the default dictionary? (If yes, how:))

Or can I use my own database to show suggestion when using EditText?

Hope you understand what I mean:)

Thank you

Bastaixen

Bastaix
  • 835
  • 3
  • 12
  • 23

1 Answers1

0

I don't think this is possible. The suggestions shown above the keyboard are actually part of the IME, so completely unrelated to your application / activity.

The only way to do this would be for you to build-in your own IME and then you can customize what suggestions would be there. You can base it on latinIME, but there are still a couple of things you would need to figure out:

  • You would need to figure out how to tell Android to use your custom IME in your app. Or, like this answer say, just build in the keyboard in your app.
  • if your user is using a different keyboard (for different language, or swype or something like that), they would probably not like it much...
Community
  • 1
  • 1
Matthieu
  • 16,103
  • 10
  • 59
  • 86