Disable keyboard cache Android programmatically

点点圈 提交于 2019-12-10 16:39:41

问题


How to disable Keyboard cache in Android programmatically for sensitive input fields?


回答1:


android:inputType="password" doesn't cache




回答2:


To disable to Edittext suggestions

android:inputType="textNoSuggestions"  



回答3:


I'm guessing the best would be: inputType="textVisiblePassword"

An overview is provided at: Difference between android:inputType="textPassword", "textVisiblePassword","textWebPassword" and "numberPassword" in android?

(For different inputtypes: https://developer.android.com/reference/android/R.styleable.html?hl=en#TextView_inputType)



来源:https://stackoverflow.com/questions/38369578/disable-keyboard-cache-android-programmatically

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!