diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-03-29 21:29:46 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-03-29 21:29:46 +0200 |
commit | 48e09a935902b715aa605d368795925999f1cfa9 (patch) | |
tree | 89b870ebc087d937962079c9434f75142697c24e /src/main/java/de/pixart/messenger/ui/interfaces | |
parent | 134c299ab23fe94af9581f8f3ef13a3c8d0c1f25 (diff) |
increase swipe values
Diffstat (limited to 'src/main/java/de/pixart/messenger/ui/interfaces')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/interfaces/OnSwipeTouchListener.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/interfaces/OnSwipeTouchListener.java b/src/main/java/de/pixart/messenger/ui/interfaces/OnSwipeTouchListener.java index 513e0a606..716127c8c 100644 --- a/src/main/java/de/pixart/messenger/ui/interfaces/OnSwipeTouchListener.java +++ b/src/main/java/de/pixart/messenger/ui/interfaces/OnSwipeTouchListener.java @@ -28,8 +28,8 @@ public class OnSwipeTouchListener implements View.OnTouchListener { private final class GestureListener extends GestureDetector.SimpleOnGestureListener { - private static final int SWIPE_DISTANCE_THRESHOLD = 100; - private static final int SWIPE_VELOCITY_THRESHOLD = 100; + private static final int SWIPE_DISTANCE_THRESHOLD = 120; + private static final int SWIPE_VELOCITY_THRESHOLD = 200; @Override public boolean onDown(MotionEvent e) { |