//隐藏输入法
InputMethodManager imm = ((InputMethodManager)context.getSystemService(Context.INPUT_METHOD_SERVICE));
imm.hideSoftInputFromWindow(getWindowToken(), 0);
InputMethodManager imm = ((InputMethodManager)context.getSystemService(Context.INPUT_METHOD_SERVICE));
imm.hideSoftInputFromWindow(getWindowToken(), 0);