webview : Should not happen: no rect-based-test nodes found
来源:互联网 发布:查快递软件 编辑:程序博客网 时间:2024/05/23 01:12
viewpager中嵌套webview ,除第一个webview外,其他webview的touch事件必须滚动后才能响应,并出现错误:Should not happen: no rect-based-test nodes found,解决办法是在touch down的时候让webview滚动一下,代码如下
@Overridepublic boolean onTouch(View v, MotionEvent event) {if(event.getAction() == MotionEvent.ACTION_DOWN){int temp_ScrollY = web_info.getScrollY();web_info.scrollTo(web_info.getScrollX(), web_info.getScrollY() + 1);web_info.scrollTo(web_info.getScrollX(), temp_ScrollY);//返回原来位置,可不加}return false;}
0 0
- webview : Should not happen: no rect-based-test nodes found
- 解决:Should not happen: no rect-based-test nodes found
- Android WebView J Should not happen: no rect-based-test nodes found
- Class not found Test.TestHibernateJunit
- Class not found test.StudentsTest1
- No tests found with test runner JUnit4
- No tests found with test runner JUnit4
- Android instrumented test no tests found
- testNG No free nodes found in:[DynamicGraph问题解决
- webview:"找不到网页" or "page not found"
- Junit Test类报错Class not found XXX
- kernel panic - not syncing: no init found
- sudo fastboot not found and no permissions
- Error: Not found; no service started.问题解决
- module 'nninit' not found:No LuaRocks module found for nninit
- Tensorboard “No scalar data was found”,“No graph were found“, runs not found,sending 404
- Timezone database is corrupt -this should *never* happen解决方法
- Couldn't construct AndroidInput, this should never happen
- Android NDK开发环境搭建(windows环境下)
- [wxWidgets]_[初级]_[Mac OS X下添加输入框的右键菜单]
- wordpress资源网站
- 安全、垃圾注册、垃圾邮件
- 10周项目1
- webview : Should not happen: no rect-based-test nodes found
- URL中的特殊字符[转]
- Android 内存溢出解决方案(OOM) 整理总结
- 关于user-agent(UA)
- UIWebView Tap
- gvim的使用
- 运算符优先级图片
- 壬辰倭亂
- 展望未来,总结过去10年的程序员生涯,给程序员小弟弟小妹妹们的一些总结性忠告