We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

How to disable suggestions on Android EditText view?

muratkazanova
on
Medium Priority
4,577 Views
Last Modified: 2012-05-11
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?
Comment
Watch Question

Dejan PažinHead of SW Development
CERTIFIED EXPERT

Commented:

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

Author

Commented:
Working wih the latest one, and textNoSuggestions won't error out on my end but doesn't work either

Author

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?
Head of SW Development
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Thank you dejanpazin, using textNoSuggestions|textVisiblePassword combination seems to resolve the issue.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.