Reputation: 111
Phonegap Android: keyboard overlap screen instead of pushing application up in device. I want to see the input box so that I can see what I am typing.
We have tried following solutions:
config.xml : <preference name="fullscreen" value="false" />
AndroidMainfest.xml - android:windowSoftInputMode="adjustResize"
But it doesnot work.
Please help me what to do. Thanks in advance
Upvotes: 0
Views: 1691
Reputation: 111
android xml path: app/platforms/android/res/xml/config.xml
changes:
<preference name="android-windowSoftInputMode" value="adjustResize" />
<preference name="fullscreen" value="false" />
Upvotes: 2
Reputation: 136
As stated here: http://docs.phonegap.com/en/edge/config_ref_pgb_config.md.html, if you are using a remote cli or PhoneGap Build, try this into config.xml
<preference name="android-windowSoftInputMode" value="adjustResize" />
<preference name="fullscreen" value="false" />
Otherwise, as a (ugly) workaround, you could scroll the view so the input having the focus is at the top of it.
Upvotes: 1