daimajia / daimajia/AndroidSwipeLayout
AndroidSwipeLayout in HorizontalScrollView
- Dominant language
- Java
- Stars
- 12.3k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I'm programmatically create AndroidSwipeLayout but I can't get it to work within HorizontalScrollView.
That's how I create it:
`SwipeLayout swipeLayout = new SwipeLayout(mContext);
```
swipeLayout.setShowMode(SwipeLayout.ShowMode.LayDown);
swipeLayout.addDrag(SwipeLayout.DragEdge.Left, bottomView);
swipeLayout.setLayoutParams(
new AbsListView.LayoutParams(
AbsListView.LayoutParams.WRAP_CONTENT,
AbsListView.LayoutParams.WRAP_CONTENT
)
);
bottomView.setLayoutParams(
new AbsListView.LayoutParams(
Sizer.dpAsPixels(mContext, 200),
SwipeLayout.LayoutParams.MATCH_PARENT
)
);
swipeLayout.addView(bottomView);
swipeLayout.addView(rowFrame);`
```
Is it possible to use SwipeLayout in horizontal scroll view?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.