Dialog window has extra padding around it. Hence if there is any content around the video player (top/bottom/right/left), VideoPlayerFullScreenDialog shows the content behind it.
What is the fix?
We should update the layout properties of the dialog window so that it full occupies the screen's size.
I have copied the attributes from activityWindow and applied them to the dialogWindow.
This is for the following issue
https://github.com/dsa28s/compose-video/issues/20
What was the issue?
Dialog window has extra padding around it. Hence if there is any content around the video player (top/bottom/right/left),
VideoPlayerFullScreenDialog
shows the content behind it.What is the fix?
We should update the layout properties of the dialog window so that it full occupies the screen's size.
I have copied the attributes from
activityWindow
and applied them to thedialogWindow
.Read more at: https://www.droidcon.com/2024/01/15/camouflage-the-status-bar-with-edge-to-edge-jetpack-compose-screens-and-dialogs/