scrollview
杨筱毅
本博客中绝大部分内容为解决项目中遇到的一些问题的方案,可能是从各种途径中获取到的,留个备份让别人(以后的自己也是别人)遇到相同问题时能够快速的解决。。。
展开
-
判断scrollview中某子控件是否可见
Android: how to check if a View inside of ScrollView is visible?Solutions:Rect scrollBounds = new Rect();scrollView.getHitRect(scrollBounds);if (childView.getLocalVisibleRect(scrollBounds)) { //子原创 2015-04-26 13:34:57 · 10868 阅读 · 2 评论 -
Scrollview嵌套listviwe简单解决方案
原文链接The shortest & easiest solution for the ListView inside a ScrollView problem.You do not have to do anything special in layout.xml file nor handle anything on the parent ScrollView. You only have to原创 2015-05-27 11:29:39 · 995 阅读 · 0 评论