I am using BottomSheetDialogFragment in my activity, the dialog shows full height in portrait mode but doesn\'t when I switch to landscape mode.
This is a problem of gestureInsetBottomIgnored. For landscape this flag is false, but for portrait is true.
gestureInsetBottomIgnored