[Android] SlidingMenu: increase menu threshold to be more usable

Sébastien Toque git at videolan.org
Sat Sep 29 13:11:18 CEST 2012


vlc-ports/android | branch: master | Sébastien Toque <xilasz at gmail.com> | Sat Sep 29 13:05:29 2012 +0200| [07c0592a24b56b65369dd13a4c37c577eac548f5] | committer: Sébastien Toque

SlidingMenu: increase menu threshold to be more usable

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=07c0592a24b56b65369dd13a4c37c577eac548f5
---

 java-libs/SlidingMenu/src/com/slidingmenu/lib/CustomViewAbove.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java-libs/SlidingMenu/src/com/slidingmenu/lib/CustomViewAbove.java b/java-libs/SlidingMenu/src/com/slidingmenu/lib/CustomViewAbove.java
index 50233c0..7eb4256 100644
--- a/java-libs/SlidingMenu/src/com/slidingmenu/lib/CustomViewAbove.java
+++ b/java-libs/SlidingMenu/src/com/slidingmenu/lib/CustomViewAbove.java
@@ -90,7 +90,7 @@ public class CustomViewAbove extends ViewGroup {
 	private int mFlingDistance;
 
 	private boolean mLastTouchAllowed = false;
-	private final int mSlidingMenuThreshold = 10;
+	private final int mSlidingMenuThreshold = 16;
 	private CustomViewBehind mCustomViewBehind;
 	private boolean mEnabled = true;
 



More information about the Android mailing list