Skip to content

Commit 2d730af

Browse files
committed
feat: set background color to white for android webview
1 parent 947dd93 commit 2d730af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/android/InAppBrowser.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1029,6 +1029,7 @@ public void onClick(View v) {
10291029

10301030
// WebView
10311031
inAppWebView = new WebView(cordova.getActivity());
1032+
inAppWebView.setBackgroundColor(Color.WHITE);
10321033
inAppWebView.setLayoutParams(new LinearLayout.LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT));
10331034
inAppWebView.setId(Integer.valueOf(6));
10341035
// File Chooser Implemented ChromeClient

0 commit comments

Comments
 (0)