mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Increase swipe sensitivity
This commit is contained in:
parent
66b4942f41
commit
43176f49cb
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ public class SwipeListener implements View.OnTouchListener {
|
||||||
SwipeListener(final Context context, final ISwipeListener listener) {
|
SwipeListener(final Context context, final ISwipeListener listener) {
|
||||||
final int width = context.getResources().getDisplayMetrics().widthPixels;
|
final int width = context.getResources().getDisplayMetrics().widthPixels;
|
||||||
final int MOVE_THRESHOLD = width / 3;
|
final int MOVE_THRESHOLD = width / 3;
|
||||||
final int SPEED_THRESHOLD = width;
|
final int SPEED_THRESHOLD = width / 2;
|
||||||
|
|
||||||
gestureDetector = new GestureDetector(context, new GestureDetector.SimpleOnGestureListener() {
|
gestureDetector = new GestureDetector(context, new GestureDetector.SimpleOnGestureListener() {
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue