• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1282
  • Last Modified:

How to disable suggestions on Android EditText view?

I have two EditText view on my form and i've tried so far android:inputType="textNoSuggestions"
android:inputType="text"

but as isoon as i click on the edittext view and start typing, the suggestions comes up again. Any idea about how to disable this functionality?
0
muratkazanova
Asked:
muratkazanova
  • 3
  • 2
1 Solution
 
Dejan PažinCommented:

Which version are you using? This feature seems to be available in API 5.

Try this solution:

http://www.anddev.org/other-coding-problems-f5/android-inputtype-textnosuggestions-t10701.html
0
 
muratkazanovaAuthor Commented:
Working wih the latest one, and textNoSuggestions won't error out on my end but doesn't work either
0
 
muratkazanovaAuthor Commented:
Setting the inputType to textNoSuggestions works when you type in that EditText view for the first time. If you navigate to another view on the screen and mouse click again on the same EditText to focus on. This is where the suggestions window displayed as I type.

Any ideas?
0
 
Dejan PažinCommented:

Dont know why it doesnt work then, the only advice I found is to try this:

android:inputType="textNoSuggestions|textVisiblePassword"

instead of this:

android:inputType="textNoSuggestions"
0
 
muratkazanovaAuthor Commented:
Thank you dejanpazin, using textNoSuggestions|textVisiblePassword combination seems to resolve the issue.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now