Now, I try to hide the softkeyboard when user touch outside the keyboard:
((InputMethodManager) getSystemService(INPUT_METHOD_SERVICE)) .hideSoftInputFromWindow(
Simply use getWindow().getDecorView().getWindowToken()
getWindow().getDecorView().getWindowToken()