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,325
  • 4
  • 54
  • 73

1 Answers1

4

Try this:

requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
                     WindowManager.LayoutParams.FLAG_FULLSCREEN);
Sam-In-TechValens
  • 2,501
  • 4
  • 34
  • 67