0

How do I turn off or disable suggestions on default keyboard for S5

I tried all the solutions (like "textNoSuggestion" from xml and code, all possible combination) given on link, but non of them is working for S5 default keyboard.

Am I missing something here??

Community
  • 1
  • 1
T_C
  • 3,148
  • 5
  • 26
  • 46
  • There is no requirement for any input method editor to honor hints like `textNoSuggestion`. They are hints, not commands; it is up to the implementer of the input method editor to decide which hints they will honor and which they will not. – CommonsWare Oct 23 '14 at 16:57
  • @CommonsWare so there is no solution to this ??? – T_C Oct 23 '14 at 16:59
  • My point is even if you can find something that happens to have this effect on this input method editor, there may be others that still provide suggestions. I have no idea if there is a way to teach the S5 default input method editor to stop providing suggestions. – CommonsWare Oct 23 '14 at 17:00
  • 1
    Have you also tried `android:inputType="textVisiblePassword"`? I know this is the only way to make it work on a GalaxyTab 3. – Markus Penguin Oct 23 '14 at 17:32
  • 1
    @MarkusPenguin "textVisiblePassword" works from same [link][1] thanks [1]: http://stackoverflow.com/a/5188119/2245895 – T_C Oct 23 '14 at 17:34

1 Answers1

2

This works for Samsung A5:

editText.setInput(editText.getInputType()|InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD);
Karol Kulbaka
  • 1,136
  • 11
  • 21