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

Leave a Reply to DavmontCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.