Cordova on Android : How to stop shrinking of screen if virtual keyboard is displayed?

Helo,

I have a problem with screen shrinking on Android devices if virtual keyboard is displayed.I would like to keep screen without shrinking.

I tried to use following setting in cordova config.xml file in the root of the project:

<preference name="Orientation" value="portrait"/>
  <preference name="KeyboardShrinksView" value="false" />
  <preference name="LoadingDialog" value="My Title,My Message"/>
  <preference name="DisallowOverscroll" value="false" />
  <preference name="fullscreen" value="false" />

But without the luck

Or set directly these attributes:

 android:windowSoftInputMode="adjustPan" 
 android:isScrollContainer="false"

Into AndroidManifest.xml file. But in this case are changes each time overwritten by running cordova build command.

How can i solve it please?

Thanks for any help.

See image below:

enter image description here

change manifest entry.. it will stop screen shrinking.

android:windowSoftInputMode="adjustNothing"