One final thing. It occurs to me that you may need to ‘reclaim’ lost vertical space when you turn off the status bar and footer. You get get the status bar height here:
display.statusBarHeight
One final thing. It occurs to me that you may need to ‘reclaim’ lost vertical space when you turn off the status bar and footer. You get get the status bar height here:
display.statusBarHeight
thak you again
I have another question: I noticed that my game is a little bit low, exactly as the navigation bar height. so i thought I will check (in the code you gave me and put a flage=true if it hide the nevigation bar and then move it up exactly the height of the navigation bar. but how do I know the height of the navigation bar?
Or how I can make the screen stay and not move down after I hide the navigation bar?
That I don’t know, but I’m guessing it is close to or the same as the status bar.
Anyone?
I think it is because of code for making the game’s frame fit for all screen sizes. Mabye it isnt good. you have a beter sollusion?