add horizontalDrag attr to disable or enable the layer horizontal drag#91
add horizontalDrag attr to disable or enable the layer horizontal drag#91TUBB wants to merge 1 commit intomicrosoftarchive:masterfrom
Conversation
|
This will allow you to put a view pager up there, and it wont trigger swipe issues. So I guess I am confused by this. You want to be able to turn that ability on or off? Then just set the onTouchListener again |
|
@elmateo487 I am not sure if I understand it the right way. My layout looks like:
Sometimes the SlidingLayer consumes the touch events preventing the onStopTrackingTouch for the SeekBars to work. Do I need to handle the ACTION_UP event somehow to solve this? |
|
I've just tried tested it with this layout Even if I set the touchlistener to the LinearLayout and the requestDisallowInterceptTouchEvent to the sliding-layer, I am still able to swipe to close the sliding-layer!? `mLinLayout.setOnTouchListener(new View.OnTouchListener() { |
So the SlidingLayer can include ViewPager.