From defdff1543880fe8a3b17dcbcb3e5482ea2fecf7 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Sun, 14 Feb 2010 17:23:31 +0000 Subject: [PATCH] Tweak our message swipes to be a little harder to accidentally trigger --- src/com/fsck/k9/activity/MessageView.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/fsck/k9/activity/MessageView.java b/src/com/fsck/k9/activity/MessageView.java index 0f098dd40..74aea36bb 100644 --- a/src/com/fsck/k9/activity/MessageView.java +++ b/src/com/fsck/k9/activity/MessageView.java @@ -92,9 +92,9 @@ public class MessageView extends K9Activity private String mNextMessageUid = null; private String mPreviousMessageUid = null; - private static final float SWIPE_MIN_DISTANCE_DIP = 100.0f; + private static final float SWIPE_MIN_DISTANCE_DIP = 130.0f; private static final float SWIPE_MAX_OFF_PATH_DIP = 250f; - private static final float SWIPE_THRESHOLD_VELOCITY_DIP = 200f; + private static final float SWIPE_THRESHOLD_VELOCITY_DIP = 325f; private GestureDetector gestureDetector;