Prevent Soft Keyboard from showing when EditText focused

November 2nd, 2010 by Davmont Leave a reply »

If you have a custom EditText, that uses a different input method from soft keyboard, you should add this line to prevent him from showing.
[code=”java”””””]m_edittext.setInputType(InputType.TYPE_NULL);[/code]

Really easy, huh?

Have fun!

Advertisement

4 comments

  1. proteccion de datos says:

    me gustaría saber si hay más documentación sobre esto. gracias

  2. Vijay Kumar Meena` says:

    awesome yaar… After lots of searches and reading big codes, you have given this simple solutions.

    Thanks

Leave a Reply