Supress the Soft Keboard when an activity loads... yet again

Posted by tunneling on Stack Overflow See other posts from Stack Overflow or by tunneling
Published on 2010-05-07T18:13:38Z Indexed on 2010/05/07 18:18 UTC
Read the original article Hit count: 222

Filed under:
|
|
this.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN);

Same problem that I've read on other posts. I don't want the soft keyboard to pop up when the Activity loads. The above code snippet works, however my View no longer scrolls up so that the User can still see the EditText.

It scrolls without this line of code. Any ideas?

© Stack Overflow or respective owner

Related posts about android

Related posts about keyboard