0

How can I hide all things like battery,signal and time on an activity. I am using following code for hiding title:

requestWindowFeature(Window.FEATURE_NO_TITLE);

But what about rest things hiding? How to do that?

TheLittleNaruto
  • 8,176
  • 4
  • 51
  • 69

1 Answers1

4

Try this:

requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
                     WindowManager.LayoutParams.FLAG_FULLSCREEN);
Sam-In-TechValens
  • 2,492
  • 4
  • 32
  • 66