How to disable suggestions on Android EditText view?

Posted on 2011-04-18
Last Modified: 2012-05-11
I have two EditText view on my form and i've tried so far android:inputType="textNoSuggestions"

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?
Question by:muratkazanova
    LVL 17

    Expert Comment

    by:Dejan Pažin

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

    Try this solution:

    Author Comment

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

    Author Comment

    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?
    LVL 17

    Accepted Solution


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


    instead of this:


    Author Closing Comment

    Thank you dejanpazin, using textNoSuggestions|textVisiblePassword combination seems to resolve the issue.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Introduction This article is a continuation of Part-1 as evident from the title. Please visit this page ( to read the earlier Part -1. If y…
    A short article about problems I had with the new location API and permissions in Marshmallow
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now