Android+PhoneGap: android:windowSoftInputMode doesn't seem to work

后端 未结 3 548
小蘑菇
小蘑菇 2021-01-12 04:03

I\'m developing a PhoneGap-based application and I googled much about how to make my webview adjust its height when virtual keyboard appears, or at least get height of the v

3条回答
  •  天命终不由人
    2021-01-12 04:50

    windowSoftInputMode="adjustResize" does not work if your app is in fullscreen mode (setting fullscreen to true in config.xml). It is Android's issue not Cordova. the issue CB-4404 was filed in Cordova bug tracker for months but recently it turns out that it is working as intended on Android bug tracker.

    I solved the problem by setting fullscreen to false since it wasn't a problem for my app not to go fullscreen.

提交回复
热议问题