Skip to content

Commit c817069

Browse files
authored
feat(android): webview content will fill up the whole Ti.UI.WebView by default (#14099)
* feat(android): webview fill property * make it the default
1 parent d83d64e commit c817069

File tree

1 file changed

+2
-0
lines changed
  • android/modules/ui/src/java/ti/modules/titanium/ui/widget/webview

1 file changed

+2
-0
lines changed

android/modules/ui/src/java/ti/modules/titanium/ui/widget/webview/TiUIWebView.java

+2
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,8 @@ public TiUIWebView(TiViewProxy proxy)
375375
TiCompositeLayout.LayoutParamsparams = getLayoutParams();
376376
params.autoFillsHeight = true;
377377
params.autoFillsWidth = true;
378+
params.height = TiCompositeLayout.LayoutParams.MATCH_PARENT;
379+
params.width = TiCompositeLayout.LayoutParams.MATCH_PARENT;
378380

379381
setNativeView(webView);
380382
}

0 commit comments

Comments
 (0)
close