I currently have the IDE set to fullscreen, but I'm wondering what the correct syntax would be to set fullscreen or not for an activity in code instead.
Could you (or anyone) post an example which is just a button that when pressed toggles FullScreen and then closes the activity then restarts it again, so the Activity.Height is re-adjusted to correct dimension.
No matter how I jiggle the calls, the Activity isn't recreated/restarted.
If it works for anyone else, hopefully It will work for me (eventually?).
I don't remember whether I already suggested it but you can use two activities. One full screen and one regular. You can put all the code in a class and then use it from both activities.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.