自定义双向seekbar中横向滑动和scrollview的滑动冲突

/**

* 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)