Ok everyone knows that to hide a keyboard you need to implement:

```
InputMethodManager imm = (InputMethodManager) getSystemService(INPUT_METHOD_SERVICE);
imm.hideSoftInputFromWindow(getCurrentFocus().getWindowToken(), 0);

```

But the big deal here is how to hide the keyboard when the user touches or selects any other place that is not an `EditText` or the softKeyboard?

I tried to use the `onTouchEvent()` on my parent `Activity` but that only works if user touches outside any other view and there is no scrollview.

I tried to implement a touch, click, focus listener without any success.

I even tried to implement my own scrollview to intercept touch events but I can only get the coordinates of the event and not the view clicked.

Is there a standard way to do this?? in iPhone it was really easy.