[英]Auto prediction/dictionary/suggestion support on android EditText
Android Messaging EditText支持自動建議,我想為自定義Edit文本提供相同類型的建議或字典支持。
我已經用自動更正和自動完成添加了輸入類型
android:inputType="textAutoCorrect|textAutoComplete"
但它不起作用,我驗證了在Android 2.3和4.0.3上的實現。是否有任何適當的方法可為EditText提供自動建議或字典支持?
謝謝
嘗試刪除行android:inputType="textAutoCorrect|textAutoComplete"
,不要在代碼中調用setInputType
。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.