daimajia / daimajia/AndroidSwipeLayout
addDrag() issue
- Dominant language
- Java
- Stars
- 12.3k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
hey man,
wanted to create a swipe menu that slides in from the top.
added this to my code:
swipeLayout.addDrag(DragEdge.Top, bottomWrapper);
but problem was that it still worked only as a swipe menu from left to right.
So the layout was sliding in from the right
I solved it by replacing it with this code:
swipeLayout.setDragEdge(SwipeLayout.DragEdge.Top);
swipeLayout.setBottom(R.id.bottom_wrapper);
Now it is working and I can slide down from the top to open the menu.
But "setDragEdge" is deprecated, so I think there is maybe something wrong going on with the addDrag method?!
anyway: I really like your work. Thanks very much
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.