Is there a way to programmatically turn off that autosuggest list which pops up as you type in EditText?
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
- How to create Circular view on android wear?
相关文章
- android开发 怎么把图片放入drawable的文件夹下
- android上如何获取/storage/emulated/下的文件列表
- androidStudio有个箭头不认识
- SQLite不能创建表
- Windows - Android SDK manager not listing any plat
- Animate Recycler View grid when number of columns
- Why is the app closing suddenly without showing an
- Android OverlayItem.setMarker(): Change the marker
OK, the problem was - in Eclipse you don't get suggestion for flag named: textNoSuggestion
And you can't set it in main.xml (where you design UI) because that attribute for inputType isn't recognized. So you can set it in code using int const:
And thanks jasta00 for helping me out figure answer for this one.
I was getting this thing on samsung phones running 4.4.4. This solved my problem
works like a charm
Programatically
XML
As this is still an issue, I'm going to post this answer. android:inputType="textVisiblePassword" works but it is undesirable, first because it's a misrepresentation of the input and second because it disables Gesture Typing!
Instead I had to use BOTH flags textNoSuggestions and textFilter. Either one alone did not work.
The textCapSentences was for other reasons. But this inputType kept the swipe typing and disabled the suggestion toolbar.