Commit 70f6eac6 authored by Adrien Maglo's avatar Adrien Maglo

SlidingPaneLayout: increase the sensitivity of the view drag helper

parent cfb375ed
......@@ -202,7 +202,7 @@ public class SlidingPaneLayout extends ViewGroup {
ViewCompat.setAccessibilityDelegate(this, new AccessibilityDelegate());
ViewCompat.setImportantForAccessibility(this, ViewCompat.IMPORTANT_FOR_ACCESSIBILITY_YES);
mDragHelper = ViewDragHelper.create(this, 0.5f, new DragHelperCallback());
mDragHelper = ViewDragHelper.create(this, 1.0f, new DragHelperCallback());
mDragHelper.setMinVelocity(MIN_FLING_VELOCITY * density);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment