CB-7159 Set background color of webView as well as its parent

github: close #109, close #110
This commit is contained in:
Jan Velecký 2014-07-21 01:04:52 +02:00 committed by Andrew Grieve
parent cd6c0e1de9
commit 67f474ef42

View File

@ -249,6 +249,7 @@ public class CordovaActivity extends Activity implements CordovaInterface {
// TODO: Setting this on the appView causes it to show when <html style="opacity:0">.
int backgroundColor = preferences.getInteger("BackgroundColor", Color.BLACK);
root.setBackgroundColor(backgroundColor);
appView.setBackgroundColor(backgroundColor);
}
/**