8

I am creating a phonegap application and for android build I want to set the windowSoftInputMode property of Andriod manifest file using config.xml.

Is there any way to do it using config.xml or command line.Kindly suggest.

Thanks in advance.

Rawat Raman
  • 479
  • 1
  • 5
  • 13

1 Answers1

7

Add following preference in your config.xml file :

<preference name="android-windowSoftInputMode" value="stateVisible|adjustResize" />

Also you have to disable the full-screen preference :

<preference name="Fullscreen" value="false" />

Check more :

Community
  • 1
  • 1
turtle
  • 1,619
  • 1
  • 14
  • 30