fix(insets): fix window insets on video player

This commit is contained in:
LucasGGamerM
2023-09-18 07:37:47 -03:00
parent 70a2f1fc0b
commit af60c8ba4a

View File

@@ -147,7 +147,7 @@ public class PhotoViewer implements ZoomPanView.Listener{
toolbarWrap.setPadding(0, 0, 0, 0); toolbarWrap.setPadding(0, 0, 0, 0);
videoControls.setPadding(0, 0, 0, 0); videoControls.setPadding(0, 0, 0, 0);
} }
insets=insets.replaceSystemWindowInsets(tappable.left, tappable.top, tappable.right, tappable.bottom); insets=insets.replaceSystemWindowInsets(tappable.left, tappable.top, tappable.right, insets.getSystemWindowInsetBottom());
} }
uiOverlay.dispatchApplyWindowInsets(insets); uiOverlay.dispatchApplyWindowInsets(insets);
int bottomInset=insets.getSystemWindowInsetBottom(); int bottomInset=insets.getSystemWindowInsetBottom();