Thursday, 6 December 2012

How to hide softKeybord

InputMethodManager objInputMethodManager = (InputMethodManager) getSystemService(Service.INPUT_METHOD_SERVICE);


EditTextView.setOnClickListener(new OnClickListener()
{

@Override
public void onClick(View v) {
objInputMethodManager.hideSoftInputFromWindow(v.getWindowToken(), 0);

}
});

No comments:

Post a Comment