Re: [android-developers] hiding keyboard after button press

2011-09-10 Thread Mark Murphy
On Fri, Sep 9, 2011 at 11:02 PM, martypantsROK wrote: > I am using > >     confirmButton.setOnClickListener(new View.OnClickListener() { >        public void onClick(View view) { >         //hide keyboard : > > getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN)

[android-developers] hiding keyboard after button press

2011-09-09 Thread martypantsROK
OK, so I have an activity that expects from 2 to 6 numeric inputs. When the user has finished, a button is pressed to initiate processing and then intermediate results are displayed. The problem is that I can't get the keyboard to disappear and it covers up the Scrollable area where the results are