Phonegap: Android 6 status bar overlaps webview

∥☆過路亽.° 提交于 2019-12-12 10:11:57

问题


I built an app with PhoneGap for Android. It works fine untill you open any text input - after that status bar overlaps webview and stays there.

Ive searched all questions and seems like its a common problem for iOS 7, but not for Android. And no menthions of phonegap issues whatsoever.

Before touching input field

After touching input field

Any ideas how to override it for Andorid built in Phonegap?


回答1:


There was fullscreen enabled by default in config.xml

Disabled it and now it works without overlapping:

<preference name="fullscreen" value="false" />


来源:https://stackoverflow.com/questions/35126192/phonegap-android-6-status-bar-overlaps-webview

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!