How to remove focus and hide the on screen Keyboard.
EditTest on focus changed key board will hide.
EditTest on focus changed key board will hide.
InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
imm.hideSoftInputFromWindow(editTextField.getWindowToken(), 0);
or onclick button key board hide...
btnSend.setOnClickListener(new OnClickListener()
{
public void onClick(View v)
{
//***Key Board Hide****//
InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
imm.hideSoftInputFromWindow(mOutEditText.getWindowToken(), 0);
}});
With all the rain, rain, rain even a very warm gray can be pretty depressing for most of the year. I found I couldn't stand it and we repainted.
ReplyDelete