【问题标题】:full height of webview website second pagewebview网站第二页全高
【发布时间】:2021-10-29 14:53:32
【问题描述】:

我的 webview 存在以下问题:在 android 和桌面上,它在第一页上运行良好,但是当我单击按钮转到第二页时,页面的高度没有完全显示。只有在android中,滚动和按钮没有响应,桌面很好。这是一个从另一个github用户下载的android项目...

This is the first page working great

This is the second page issue with scroll and buttons

这是 XML 布局代码文件:

xml code part one xml code part two

这里是关于位于 MainActivity.java 文件中的 webview 设置的更重要的几行

mainactivty.java webview settings

注意: 通常该网站响应良好且运行良好,无论是 android、ios 等...设备(没有安卓模拟器)

问题仅在于第二页...

【问题讨论】:

标签: java android html css xml


【解决方案1】:

从 NestedScrollView 中移除 web 视图并使其成为 match_parent

【讨论】:

    猜你喜欢
    • 2021-08-25
    • 2015-07-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-02-01
    • 2017-09-25
    • 2012-10-24
    • 1970-01-01
    相关资源
    最近更新 更多