Question : how to hide status bar in android studio kotlin
Answered by : hannan
if (Build.VERSION.SDK_INT < 16) { getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); } else { View decorView = getWindow().getDecorView(); // Hide the status bar. int uiOptions = View.SYSTEM_UI_FLAG_FULLSCREEN; decorView.setSystemUiVisibility(uiOptions); }
Source : | Last Update : Thu, 12 May 22
Question : how to remove status bar in android
Answered by : shiraj-sayed
@Override
protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); requestWindowFeature(Window.FEATURE_NO_TITLE); this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN);
}
Source : | Last Update : Tue, 06 Oct 20
Question : how hide status bar in android studio
Answered by : eager-eagle-qpooec75bj8f
getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
Source : https://stackoverflow.com/questions/5431365/how-to-hide-status-bar-in-android | Last Update : Sun, 30 May 21
Question : android studio hide status bar
Answered by : grotesque-gibbon-uehtpceen87x
getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
Source : | Last Update : Fri, 02 Jul 21