0

I have an android application. I have made application fullscreen but as status bar remains on screen, if the user clicks on the clock and hits Settings, my application goes to the background.

How can i disable this?

Any help appreciated

Sandeep
  • 667
  • 7
  • 25

1 Answers1

0

Take a look at similar question here

So the answer is you can't disable it (on non-rooted devices). but you can hide icons on it

try this to do it:

View v = findViewById(R.id.your_view_id);
v.setSystemUiVisibility(View.STATUS_BAR_HIDDEN);
Community
  • 1
  • 1
Vladimir
  • 3,774
  • 3
  • 23
  • 27