make article swipe gesture min distance a bit lower
This commit is contained in:
parent
41ee431715
commit
6440c73b1e
@ -231,7 +231,7 @@ public class ArticleFragment extends Fragment implements OnClickListener {
|
||||
|
||||
// http://blog.blackmoonit.com/2010/07/gesture-detection-swipe-detection_4292.html
|
||||
class MyGestureDetector extends SimpleOnGestureListener {
|
||||
private static final int SWIPE_MIN_DISTANCE = 150;
|
||||
private static final int SWIPE_MIN_DISTANCE = 100;
|
||||
private static final int SWIPE_MAX_OFF_PATH = 100;
|
||||
private static final int SWIPE_THRESHOLD_VELOCITY = 100;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user