InputMethodManager objInputMethodManager = (InputMethodManager) getSystemService(Service.INPUT_METHOD_SERVICE);
EditTextView.setOnClickListener(new OnClickListener()
{
@Override
public void onClick(View v) {
objInputMethodManager.hideSoftInputFromWindow(v.getWindowToken(), 0);
}
});
EditTextView.setOnClickListener(new OnClickListener()
{
@Override
public void onClick(View v) {
objInputMethodManager.hideSoftInputFromWindow(v.getWindowToken(), 0);
}
});
No comments:
Post a Comment