Answers for "hide status bar android 11"

0

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);
}
Posted by: Guest on September-29-2020
1

how hide status bar in android studio

getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
Posted by: Guest on May-23-2021
0

android hide status bar and action bar daynamically

import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Window;
import android.view.WindowManager;
public class MainActivity extends AppCompatActivity {
   @Override
   protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      requestWindowFeature(Window.FEATURE_NO_TITLE);
      getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
      setContentView(R.layout.activity_main);
   }
}
Posted by: Guest on May-16-2020
-1

android studio hide status bar

getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
Posted by: Guest on June-25-2021

Code answers related to "hide status bar android 11"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language