daimajia / daimajia/AndroidSwipeLayout

❓💥🔥 - Multiple Direction Swipe creating empty area

Open
#518 15 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
12.3k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

hi,

I implemented both direction ( - right & left ) like that

` viewHolder.swipeLayout.setShowMode(SwipeLayout.ShowMode.LayDown);
viewHolder.swipeLayout.addDrag(SwipeLayout.DragEdge.Left, viewHolder.swipeLayout.findViewById(R.id.left_view));
viewHolder.swipeLayout.addDrag(SwipeLayout.DragEdge.Right, viewHolder.swipeLayout.findViewById(R.id.right_view)); `

and my xml is like this

`



`

Everytime that I swipe to left after right swipe, its creating small empty area which is increasing by repeating left- right swiping step.

How can I prevent this?

![device-2018-11-16-113009](https://user-images.githubusercontent.com/5616467/48608191-4dd3f180-e993-11e8-9d20-e9c9e941d86b.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.