public int getViewHorizontalDragRange(View child) {
            return 0;
        }
Return the magnitude of a draggable child view's horizontal range of motion in pixels.
This method should return 0 for views that cannot move horizontally.

@param child Child view to check
@return range of horizontal motion in pixels
app/src/main/java/home/smart/fly/animations/widget/slidepanel/ViewDragHelper.java