I am developing an Android application where I am dealing with some sensitive data in EditText field. I want to know that is there any way by which I can disable Keyboard caching, so that the information which I type in my app should not be shown as suggestion in other apps.
Asked
Active
Viewed 1,768 times
3
-
2https://stackoverflow.com/questions/38369578/disable-keyboard-cache-android-programatically try this – Tara Aug 20 '18 at 09:25
-
2https://stackoverflow.com/a/38369774/603270 – shkschneider Aug 20 '18 at 09:25
-
2Possible duplicate of [Disable keyboard cache Android programatically](https://stackoverflow.com/questions/38369578/disable-keyboard-cache-android-programatically) – shkschneider Aug 20 '18 at 09:25
2 Answers
0
If you mean "Text Suggestions", to disable edit text suggestions use below attribute:
android:inputType="textNoSuggestions"

Hamed
- 5,867
- 4
- 32
- 56
0
android:inputType="textVisiblePassword"
Works like a charm. This is will make sure there are no suggestions when typing on the keypad.

Andrew Reese
- 854
- 1
- 11
- 27