private InputMethodManager inputMethodManager;
inputMethodManager = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
private boolean hideKeyboard(){
if(inputMethodManager.isActive(reciverName) ||inputMethodManager.isActive(reciverTel)||inputMethodManager.isActive(reciverAddr3)){
reciverAddr.requestFocus();
inputMethodManager.hideSoftInputFromWindow(getCurrentFocus().getWindowToken(), InputMethodManager.HIDE_NOT_ALWAYS);
inputMethodManager.restartInput(reciverAddr3);
return true;
}
return false;
}