This might be a noob question.
Actually I am trying to toggle the Activity Windows using a click.
With one click , my Activity goes FullScreen and the Next time I click , It should come back to Non-FullScreen State.
I made if Full Screen using:
this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
but now I cannot return back to the NonFullScreen State.
How can I do it?
Thanks in Advance 🙂
To enable full screen:
To go back to non-fullscreen: