Vote count:
0
I am trying this code which is shown in google developer's page,but at no vail.
View decorView = getWindow().getDecorView();
// Hide the status bar.
int uiOptions = View.SYSTEM_UI_FLAG_FULLSCREEN;
decorView.setSystemUiVisibility(uiOptions);
// Remember that you should never show the action bar if the
// status bar is hidden, so hide that too if necessary.
ActionBar actionBar = getActionBar();
actionBar.hide();
Should I add something on the manifest file too?
Thank you.
asked 1 min ago
Hiding ActionBar for Android > 4.1
Aucun commentaire:
Enregistrer un commentaire