当前位置:编程学习 > wap >>

android中使用webview加载html页面的问题

加载html,这个页面中有div的滚动条,在电脑中可以显示滚动条,在手机中就显示不出来,大虾们帮忙解决下 --------------------编程问答-------------------- --------------------编程问答-------------------- 建议使用webview.getSettings()方法的设置属性
就比如:// 设置WebView属性,能够执行Javascript脚本
webview.getSettings().setJavaScriptEnabled(true);


public void setUseWebViewBackgroundForOverscrollBackground (boolean view) 
Set whether the WebView uses its background for over scroll background. If true, it will use the WebView's background. If false, it will use an internal pattern. Default is true. 

补充:移动开发 ,  Android
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,