Make a smaller cliff for dismissing cards
Fixes b/14997474 swipe to dismiss cliff guard may be too big Change-Id: I3e681f1c6dc3eaac37a0e840b36f4c7041e86e62
This commit is contained in:
@@ -35,7 +35,7 @@ import android.widget.FrameLayout;
|
||||
public class SwipeDismissLayout extends FrameLayout {
|
||||
private static final String TAG = "SwipeDismissLayout";
|
||||
|
||||
private static final float DISMISS_MIN_DRAG_WIDTH_RATIO = .4f;
|
||||
private static final float DISMISS_MIN_DRAG_WIDTH_RATIO = .33f;
|
||||
|
||||
public interface OnDismissedListener {
|
||||
void onDismissed(SwipeDismissLayout layout);
|
||||
|
||||
Reference in New Issue
Block a user