I have a BottomSheet
in my Activity.
I'm calling behavior.setState(BottomSheetBehavior.STATE_EXPANDED);
to show the bottom sheet and it works fine, but the problem I have is that I can somehow click on the empty space of my bottom sheet to trigger onClick
event of a view that is behind the bottom sheet.
Is there a way to prevent this from happening?