how to remove status bar in android
@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);
}
3
1
getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
Thank you!
1
0
Are there any code examples left?
New code examples in category Other