The following code will hide the keyboard until the user press any user interface item such as a edit text to type in the information:
... private void hideSoftKeyboard(){ Log.d(TAG, 'hideSoftKeyboard()'); getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN); } ...
© 2011, Alejandro G. Carlstein Ramos Mejia. All rights reserved.