Hide suggestions from the soft keyboard on EditText view

2 votes · 2 comments

With the following code,one can stop the suggestions coming automatically from soft keyboard when you click on EditText.

raw ·
copy
· download
EditText.setInputType(InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD);
Add a comment

2 Comments

Great short and simple!

Reply · Jan. 8, 2013, 7:15 a.m.

Nice solution. But i need to hide suggestions from keyboard and the corresponding edittext ( text field ) must be multi line type. can you help to solve this ???

Reply · July 7, 2014, 11:36 a.m.