Skip to content

Commit

Permalink
feat(android): webview content will fill up the whole Ti.UI.WebView b…
Browse files Browse the repository at this point in the history
…y default (#14099)

* feat(android): webview fill property

* make it the default
  • Loading branch information
m1ga authored Nov 9, 2024
1 parent d83d64e commit c817069
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,8 @@ public TiUIWebView(TiViewProxy proxy)
TiCompositeLayout.LayoutParams params = getLayoutParams();
params.autoFillsHeight = true;
params.autoFillsWidth = true;
params.height = TiCompositeLayout.LayoutParams.MATCH_PARENT;
params.width = TiCompositeLayout.LayoutParams.MATCH_PARENT;

setNativeView(webView);
}
Expand Down

0 comments on commit c817069

Please sign in to comment.