3

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.

Bruno
  • 3,872
  • 4
  • 20
  • 37
imi
  • 259
  • 1
  • 3
  • 14

2 Answers2

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