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-amazon-fireos/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/commit/b535a74b Tree: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/tree/b535a74b Diff: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/diff/b535a74b Branch: refs/heads/master Commit: b535a74b8b6cdcbe94baeb59f1e677de01347e03 Parents: 519cd39 Author: Jan Velecký <[email protected]> Authored: Mon Jul 21 01:04:52 2014 +0200 Committer: Archana Naik <[email protected]> Committed: Wed Jul 30 18:11:16 2014 -0700 ---------------------------------------------------------------------- framework/src/org/apache/cordova/CordovaActivity.java | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/blob/b535a74b/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 eebf8f6..7fdab2b 100755 --- a/framework/src/org/apache/cordova/CordovaActivity.java +++ b/framework/src/org/apache/cordova/CordovaActivity.java @@ -265,6 +265,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); } /**
