Pass touch event from NestedScrollView to parent view's
I have a ViewPager below a NestedScrollView width some top padding, and clipToPadding(false) and transparent background (like as image). My ViewPager can't get touch event and doesn't work. How can I solve this problem? (I can't change my structure and can't move ViewPager to above of NestedScrollView or set TopMargin to NestedScrollView) NestedScrollView nestedScrollView = new NestedScrollView(getContext()); nestedScrollView.setFillViewport(true); nestedScrollView.setLayoutParams(scrollParams); nestedScrollView.setClipToPadding(false); Solution: This Problem solved With overwriting