【问题标题】:Webview unable to render framesetWebview 无法渲染框架集
【发布时间】:2016-12-28 10:45:50
【问题描述】:

我正在尝试在 Web 视图中加载网页 - https://netbanking.hdfcbank.com/netbanking/。我可以看到渲染的 dom,但框架的高度为 0。

<html><head>
<title>Welcome to HDFC Bank NetBanking</title>
<script language="javascript">
    var daemon          = 'NETBANKING';
    var p_remoteaddress = '';
    var RsaAuthReq      = '';

    var l_path = window.location.pathname;

    if(l_path == undefined || l_path == '' || l_path.indexOf("/netbanking") < 0){
        window.location.href = window.location.protocol + "//" + window.location.host +"/netbanking";
    }

</script>
</head>
    <frameset border="false" frameborder="O" framespacing="0" rows="*" cols="*">
        <frameset border="false" frameborder="O" framespacing="0" rows="*,30" cols="*">
            <frame marginwidth="0" marginheight="0" name="login_page" src="RSLogin.html?v=7" noresize="true" scrolling="yes">
            <frame marginwidth="0" marginheight="0" name="footer" src="footer.html" noresize="true" scrolling="no">
        </frameset>
    </frameset>

</html>

我可以看到在其他应用程序 webview 和 chrome 中呈现相同的内容。

【问题讨论】:

    标签: webview android-webview frameset


    【解决方案1】:

    webview 是 wrap_content,改成 match_parent。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-05-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-04-17
      • 1970-01-01
      相关资源
      最近更新 更多