how can I catch the event when click occurs somewhere on the app screen? It doesn\'t matter if there is a button or something else. I just need to apply an onClick()>
onClick()>
Maybe you can add a listener to the Layout instance, getting the layout with
RelativeLayout l = (RelativeLayout)findViewById(R.id.mylayout); l.setOnClickListener(click);