or full screen without cutout areas mentioned hereThanks MarkusR,it looks more trouble than B4I,I'm planning to set app no full screen.
Never render content in the display cutout area
With LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER, the window is never allowed to overlap with the cutout area.
This mode should be used with windows that transiently set View.SYSTEM_UI_FLAG_FULLSCREEN or View.SYSTEM_UI_FLAG_HIDE_NAVIGATION to avoid performing another layout of the window when the flag is set or cleared.
See examples of LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER below: