I have a BottomSheet in my activity.
I call behavior.setState(BottomSheetBehavior.STATE_EXPANDED); to show the bottom sheet, and it works fine, but the problem is that I can somehow click on the empty space of my bottom sheet to trigger the OnClick event of the view, which is behind the bottom sheet. Is there any way to prevent this?
source share