包括文字建议在Android键盘 [英] Include Word Suggestions in Android Keyboard

查看:74
本文介绍了包括文字建议在Android键盘的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我想包括在我的自定义键盘单词建议。

Hi I want to include word suggestions in my custom keyboard.

例如,如果我写<无线> 应该建议我,你是否要写入赢家媚眼,信等

e.g if I write < wi > it should suggest me whether you want to write "winner" "winks" "wilson" etc

请指引我。

感谢

推荐答案

下面才是真正的回答这个问题。

Here is the real answer to this question.

这是我很难找到:

首先,你需要:

单词添加到Android的UserDictionary

由于被迫在字典中的话,他们将出现在建议。

By having the words in the dictionary, they will show up in suggestions.

如果您而是要完全展现你的话,那么像自动完成下拉想法是一个更适合(即其他答案链接)

If you want to exclusively show your words however, then something like the auto-complete dropdown idea is a better fit (that the other answers linked)

这篇关于包括文字建议在Android键盘的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆