FORCE HIDE Soft Keyboard

I was working on a splash screen and out of nowhere a soft keyboard poped up on the screen. No matter what I tried it didn’t go out. Finally figured out a way to force hide the soft keyboard.

getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN);

Did you enjoy this article?
Signup today and receive free updates straight in your inbox. We will never share or sell your email address.

1 Comment

  1. thx a lot buddy, it’s work, amongs many other suggestion …

    Reply

Leave a Reply