SwipeBackHelper icon indicating copy to clipboard operation
SwipeBackHelper copied to clipboard

make your activity can swipe to close

Results 29 SwipeBackHelper issues
Sort by recently updated
recently updated
newest added

can we close activity when swipe up or down? Best Regards.

难道没人碰到这个问题吗? 有侧滑返回的界面,theme设置了true 然后在页面中弹出popwindow,加一个背景遮罩,在pop弹出时,上一个页面会与当前页面重叠,视图渗透了,有办法解决吗?

具体表现为:应用退至后台再次打开,这个时候用手势返回上个页面,会发现上个页面变成透明的,并且无法点击。

activity需要设置方向,swipeback要设置透明背景主题,8.0 报错:Only fullscreen opaque activities can request orientation。不设置透明背景的话滑动返回一片黑

java.lang.IllegalStateException: Layout state should be one of 100 but it is 10 2 at android.support.v7.widget.RecyclerView$s.a(RecyclerView.java:11903) 3 at android.support.v7.widget.RecyclerView.O(RecyclerView.java:3829) 4 at android.support.v7.widget.RecyclerView.q(RecyclerView.java:3540) 5 at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:4082) 6 at android.view.View.layout(View.java) 7 at android.view.ViewGroup.layout(ViewGroup.java:5437)...

![screenshot_20180426-104831](https://user-images.githubusercontent.com/6261504/39283491-1ce818a0-4941-11e8-82cd-39349f647a59.png) 机型:Pixel,系统:8.1 使用LayoutInspector会发现SwipeBackLayout中的子View的Left和Width计算不正确,导致布局被隐藏在navigationbar底下

能否增加垂直方向滑动关闭

![test](https://cloud.githubusercontent.com/assets/16207000/25079594/5ea4346a-2370-11e7-8bf7-605c6c2c1004.gif)