Reputation: 617
when cordova webView
is resized due to orieantation change, there is a moment, in which webView do not cover entire screen area. That is understandable, also user expecting that. But my application have black background, and background of app, which is not covered by webView
in the moment have white color and this looks ugly.
There are photo of this problem. It's end of rotation animation, moment before white rectangle disappear. (It is truly moment [a few hundred of miliseconds], so I had to take a photo :-) )
http://oi57.tinypic.com/15f4u4n.jpg
What I tried:
@android:style/Theme.Black.NoTitleBar
setBackgroundColor(Color.BLACK)
in onCreate
method of activity after init to appView
, super.root
and getWindow().getDecorView()
I really don't know how to get rid of this white shine. :-)
Note: This issue occurs on Android 2.3 and 4.0. Android 4.1 and up does not have this problem.
Upvotes: 1
Views: 1075