It is my first time sharing an app here cuz i think it might be useful this time :D
The app is simply a video player based on exoplayer with the ability to play the videos fullscreen in phones with notches and hole puch displays as there isnt much apps that dose that ( if theres any in first...
Original tutorial: Immersive Mode - hide the navigation bar (by @Erel )
So the above tutorial works for those devices which do not have a Notch. Devices with a notch will crop the bottom of the application content.
Solution (Project attached):
Add this code to GetRealSize sub of the original...