- When the user clicks on the full screen to play a video, it is generally required to play the video in a horizontal screen and full screen. At this time, you need to hide the status bar.
- Regardless of hiding the ActionBar, hide the status bar, the easiest way:
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);