Open nithinkrishnanp opened 8 years ago
@pmk2429 No. It doesn't work for me.
Comment out the ACTION_MOVE switch case in SlidingUpPanelLayout.onInterceptTouchEvent and there will be no anchor.
case MotionEvent.ACTION_MOVE: {
if ((ady > dragSlop && adx > ady) ||
!isViewUnder(mDragView, (int) mInitialMotionX, (int) mInitialMotionY)) {
mDragHelper.cancel();
return false;
}
break;
}
Had the same issue. I solved it by setting the anchor point of SlidinUpPanelLayout to 0.01f.
slidingUpPanelLayout.setAnchorPoint(0.01f);
Although, it did slowed down the action up animation but apart from that, it works fine for me.