The xml layout file looks like:
You can add a transparent view over your layout and set listener for this view. It will intercept all click events.