code: public boolean isViewUnder(View view, int x, int y) {
          if (view == null) {
              return false;
          }
          return x >= view.getLeft() &&
                  x < view.getRight() &&
                  y >= view.getTop() &&
                  y < view.getBottom();
      }
docs: Determine if the supplied view is under the given point in the
  parent view's coordinate system.
  
  @param view Child view of the parent to hit test
  @param x X position to test in the parent's coordinate system
  @param y Y position to test in the parent's coordinate system
  @return true if the supplied view is under the given point, false otherwise