code: public static void hideSoftKeyboard(Context context, View view) {
  		InputMethodManager imm = (InputMethodManager) context
  				.getSystemService(Context.INPUT_METHOD_SERVICE);
  		imm.hideSoftInputFromWindow(view.getWindowToken(), 0);
  	}
docs: Hides keypad
  
  @param context
  @param view View holding keypad control