I want to remove SwipeBackView?
khacdat1994 opened this issue · 4 comments
khacdat1994 commented
Hello,
I want to remove SwipeBackView? When you swipe left to right to back first activity without swipebackview. hELP ME PLEASE
sockeqwe commented
I'm sorry, but I don't understand your problem. Can you elaborate? What exactly do you try to achieve?
khacdat1994 commented
sockeqwe commented
Then don't use this library (SwipeBackActivity) at all?!?!?
risefire commented
you can set the size as 1 and to swipe from the edge set the touch mode as 1
SwipeBack.attach(this, Position.LEFT) .setContentView(R.layout.homepage) .setSwipeBackView(R.layout.swipeback_default) .setSize(1) .setTouchMode(1) .setSwipeBackTransformer(new SlideSwipeBackTransformer() { @Override public void onSwipeBackCompleted(SwipeBack swipeBack, Activity activity) { onBackPressed(); } });