Solution to white background shows after keyboard closes in android

The android-windowSoftInputMode preference seems to be supported by Phonegap only, not Cordova.

Make sure the xmlns:android=“” namespace attribute is included in the widget element and add an edit-config element:

I faced this problem severally but just found the solution. wish it helps u too