mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-20 23:56:20 +08:00
CB-7159: Fix setBackgroundColor() call to support 4.0.x view classes
This commit is contained in:
parent
5054b714e2
commit
f9b8f9a45f
@ -213,7 +213,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);
|
||||
appView.getView().setBackgroundColor(backgroundColor);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user