One of the pages in my phonegap app is bigger than the screen by exactly the height of the status bar at the top of the screen (this is on Android, on a Google Nexus)... I can disable scrolling (with the touchmove event), but it still hangs off the bottom of the screen... I could fix that by using a fixed height, but then I would need to know the height of the screen and status bar...
I'm OK with making my app fullscreen, but when I tried setting that in my manifest the status bar didn't actually go away (though, phonegap's browser did actually shift up... it no longer hung off the bottom, but was then obscured on the top!)...
Remove from your html meta data this:
<meta name="viewport" content="height=device-height"/>
That made your app full-screen, instead of fullscreen minus statusbar.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With