@Override public View getViewForLocation(int x, int y) { getLocationOnScreen(mLocationOnScreen); // Calculate the X and Y coordinates of the drag event relative to the view final int viewX = x - mLocationOnScreen[0]; final int viewY = y - mLocationOnScreen[1]; View child = getViewAtPosition(viewX, viewY); return child; }