title: onTouchListener for entire screen
body: <p>I have a screen filled with buttons, but want the onTouch-method to use the entire screen's coordinates. I first tried using a RelativeLayout with an onTouchListener, but never managed to make it "connect" with the listener (i.e. nothing happened when screen was touched), I also tried putting an ImageView on top of the screen, and then making this view invisible.</p>
  
  <p>This last method gave correct responses to onClicks, but I never managed to make it invisible.</p>
  
  <p>If this is the best solution, which I highly doubt, how do I make the ImageView totally invisible, without losing its onTouchListener (I've experimented with white backgroundColor and setAlpha(0)).</p>
  
  <p>Can I somehow make the onTouchListener react to the whole screen, using global coordinates, while the screen is showing (and altering) several buttons (preferably without the invisible imageview)?</p>
  
  <p>If you don't understand what I'm asking for, feel free to complain about that. I'll try to fill the gaps as needed.</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>I've now managed to resolve the issue by using the regular onTouch-method. I ran into several problems making both ACTION_DOWN and ACTION_MOVE activate the buttons, but I finally got it working. For other people reading this: onInterceptTouchEvent could possibly be used (but I never figured out how to get the screen coordinates instead of the view-coordinates).</p>