Question : how to make full screen app in notch mobile in android studio
Answered by : curious-cheetah-0vwugd2rvfpc
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P){ getWindow().setFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS, WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS); }
Source : https://stackoverflow.com/questions/49190381/fullscreen-app-with-displaycutout | Last Update : Sun, 16 May 21