Q:

How can i get tap anywhere on the screen

i need a tap function in android. I have full screen activity and want to know if user tap the the screen or not. I looked lots of page and couldn't find the function that i need.
Edit:
I don't know why is unclear to some people. I just need a function that triggers when user tap into screen. How can i explain more clear? 
And answer is above, ORIGINAL 's answer. If it is not clear, how ORIGINAL understand this ?

A:

Set a click listener to the container layout. (RelativeLayout / LinearLayout ?) This click listener will execute whenever the user taps the screen. 

A:

You can set onclickListener to your container layout like this:
LinearLayout lay = (LinearLayout) findViewById(R.id.layout);
    lay.setOnClickListener(new OnClickListener()
    {
        @Override
        public boolean onClick(View view, MotionEvent ev)
        {
            ----enter your code---
        }
    });

