How do I hide the android 4.0 mini pc combined bar or Status bar programatically?
I am using the below code, but it is not working.
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN);
}
Go to settings->Display->hide status bar tick that to hide