如何正确设置WebView的固定大小

发布于 2025-01-15 21:44:28 字数 137 浏览 0 评论 0原文

我在 recyclerview 项目中实现了 webview,但 Webview 结果设置不正确。 点击此处查看图片

I implement webview in recyclerview item and Webview result does not set properly.
Click here for image

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

×纯※雪 2025-01-22 21:44:28

我认为您正在尝试构建类似于 chrome/firefox 的选项卡最小化功能,而不是在最小化项目内使用 webview,您可以将每个页面映射到图像并将其存储在内部存储中,而且,您不希望用户在最小化状态下与页面交互,因此不需要 webview。

I think you are trying to build the tab minimising functionality similar to chrome/firefox, instead of using webview inside the minimised items, you can map every page to an image and store it internal storage, also, you don't want the user to interact with pages in minimised state, so webview is not required.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文