我有一个 WebView 设置如下:
//the web view
_mWebView = (WebView) findViewById(R.id.webView);
//push the url on to the web view
_mWebView.loadUrl(buildURL.toString());
//make the view transparent to get rid of white box while loading
_mWebView.setBackgroundColor(0x00000000);
//_mWebView.bringToFront();
//_mWebView.requestFocus();
//_mWebView.requestFocusFromTouch();
在某些手机上,当视图加载后它会滚动正常,但在我的设备上,运行 4.0.3 的 Sensation Xe,视图不会滚动。如果我长按视图,它会选择一些文本,然后会正常滚动。这很烦人,因为对最终用户执行此操作并不明显。我已经尝试了上面概述的一些事情,有什么建议吗?
谢谢。