I am very new in Android apps development and i'm encountering issue with keyboard covering my input fields and I did a search and came to know that I need to add in
android:configChanges="screenSize|locale"
to the xml file. However I do not have the AndroidManifest.xml in my directory. All I have is config.xml which phonegap provided me.
Then I found this https://github.com/phonegap/build/issues/160 but I have no idea where to put this
android:windowSoftInputMode="value1|value2|valueN"
in my config.xml?
Any help is appreciated Thanks in adavance
Tried the accepted answer from @markj but it didn't work for me. What DID work was adding this to my config.xml:
<preference name="fullscreen" value="false" />
You do get the "status bar" on top of your app but thats ok with me... Hope that helps
Why not just use the PhoneGap Build website and upload a zip file? And forget about the manifest file that Amit is talking about. I think he's just making everything more confusing. You need to understand the difference between a local development build and a PhoneGap online build. If you just want to test your app, you don't need to have the local development environment. You can zip your www folder and upload it to the PhoneGap Build service. No command line stuff and no complicated setup. If you want to edit soft keyboard settings, you can edit your config.xml and insert the following:
<preference name="android-windowSoftInputMode" value="stateVisible|adjustResize" />
... or whatever options you want for the windowSoftInputMode.
The documentation is here:
https://build.phonegap.com/docs/config-xml#platform
http://developer.android.com/guide/topics/manifest/activity-element.html#wsoft
Good luck with it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With