You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2014/07/21 21:47:36 UTC

[1/3] android commit: CB-7159 Set background color of webView as well as its parent

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ý <VV...@seznam.cz>
Authored: Mon Jul 21 01:04:52 2014 +0200
Committer: Andrew Grieve <ag...@chromium.org>
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);
     }
 
     /**


[3/3] android commit: Merge branch 'master' into 4.0.x (background color)

Posted by ag...@apache.org.
Merge branch 'master' into 4.0.x (background color)


Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/05868b54
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/05868b54
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/05868b54

Branch: refs/heads/4.0.x
Commit: 05868b541b23f91864a6ebc065f4b2802448b89d
Parents: a40424e 67f474e
Author: Andrew Grieve <ag...@chromium.org>
Authored: Mon Jul 21 15:47:03 2014 -0400
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Mon Jul 21 15:47:03 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/05868b54/framework/src/org/apache/cordova/CordovaActivity.java
----------------------------------------------------------------------


[2/3] android commit: CB-7159 Set background color of webView as well as its parent

Posted by ag...@apache.org.
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/master
Commit: 67f474ef42479b4600718533c1914616d24fd489
Parents: cd6c0e1
Author: Jan Velecký <VV...@seznam.cz>
Authored: Mon Jul 21 01:04:52 2014 +0200
Committer: Andrew Grieve <ag...@chromium.org>
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);
     }
 
     /**