Prevent Soft Keyboard from showing when EditText focused

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!

4 thoughts on “Prevent Soft Keyboard from showing when EditText focused

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

    Thanks

Responder a Vijay Kumar Meena`Cancelar respuesta

Este sitio usa Akismet para reducir el spam. Aprende cómo se procesan los datos de tus comentarios.