Repository: cordova-android Updated Branches: refs/heads/4.0.x a40424e75 -> 05868b541 refs/heads/master cd6c0e1de -> 67f474ef4
CB-7159 Set background color of webView as well as its parent github: close #109, close #110 Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/67f474ef Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/67f474ef Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/67f474ef Branch: refs/heads/4.0.x Commit: 67f474ef42479b4600718533c1914616d24fd489 Parents: cd6c0e1 Author: Jan Velecký <[email protected]> Authored: Mon Jul 21 01:04:52 2014 +0200 Committer: Andrew Grieve <[email protected]> Committed: Mon Jul 21 15:46:23 2014 -0400 ---------------------------------------------------------------------- framework/src/org/apache/cordova/CordovaActivity.java | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-android/blob/67f474ef/framework/src/org/apache/cordova/CordovaActivity.java ---------------------------------------------------------------------- diff --git a/framework/src/org/apache/cordova/CordovaActivity.java b/framework/src/org/apache/cordova/CordovaActivity.java index 1367f1c..4a46c80 100755 --- a/framework/src/org/apache/cordova/CordovaActivity.java +++ b/framework/src/org/apache/cordova/CordovaActivity.java @@ -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); } /**
