标签:
/**
* Tries to claim the user‘s drag motion, and requests disallowing any
* ancestors from stealing events in the drag.
*
* 试图告诉父view不要拦截子控件的drag
*/
private void attemptClaimDrag() {
if (getParent() != null) {
getParent().requestDisallowInterceptTouchEvent(true);
}
}
自定义双向seekbar中横向滑动和scrollview的滑动冲突
标签:
原文地址:http://my.oschina.net/yuanxulong/blog/498858