I have a modal similar (with fixed positioning) to what facebook has for the comments in feed/chat in messenger in the latest android release. What I want looks similar to this:
So when you focus on the input the keyboard opens and shrinks the webview. It's not working by default and I can't find any solution.
I tried to add this preference to config.xml but adjustResize is not doing anything and stateVisible just opens the keyboard when I start the app.
Which is weird. As of the Android Documentation adjustResize should do this:
The activity's main window is always resized to
make room for the soft keyboard on screen.
I'm using Phonegap 3.0 and I have a Nexus 5 with kitkat for testing.
解决方案
On my project created with phonegap 3.0, by default the app was full screen activity and the keyboard hid the app and the app was not resized.
I edited config.xml and set , then the app was no more be full screen and when the soft keyboard was opened, the app was resized to fit the rest of the screen.