Android White Background when keyboard fades away Android White Background when keyboard fades away angularjs angularjs

Android White Background when keyboard fades away


In AndroidManifest.xml file try to set windowSoftInputMode attribute to adjustNothing:

android:windowSoftInputMode="adjustNothing"

It worked for my Ionic project, avoiding the resize of Cordova webview when soft keyboard is on.


That is your windowBackground peeking through. You are probably drawing over the white background of your Theme with that teal background. Modify your theme to include a better background color and remove the background from your layout if possible to improve drawing performance.

<style name="MyAppTheme" parent="Theme.DeviceDefault.NoActionBar">  ...  <item name="android:windowBackground">#ff000000</item>  ...</style>


Put:

<style name="AppTheme" parent="AppBaseTheme">     <item name="android:windowBackground">@drawable/gradient</item></style>

In styles.xmlsource