From 10236d6ac7f5f787ca21736494ccb5eaf2bd7c27 Mon Sep 17 00:00:00 2001 From: Tony Wickham Date: Wed, 28 Sep 2016 12:49:25 -0700 Subject: Update pre-drag lifecycle for apps with shortcuts. - First of all, deferred drag has been renamed to pre-drag to avoid confusion with the existing deferred end drag. - For normal drags, the cycle is still startDrag --> onDragStart --> onDrop --> onDropComplete --> onDragEnd. - Pre-drags have two additional callbacks: onPreDragStart and onPreDragEnd. onPreDragStart is called between startDrag and onDragStart, and onPreDragEnd is called at the same time as onDragStart or onDragEnd. - If the pre-drag has not transitioned to a full drag before onDragEnd, onDragStart and onDropComplete are skipped (onDrop is still called to allow the DragView to animate). Change-Id: Icd7a8f75d5fcc159f9a52758c22ab6eae3edb9e2 --- res/values/dimens.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'res/values/dimens.xml') diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 47edadd0d..12e902ac3 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -164,7 +164,7 @@ 48dp 24dp 4dp - 6dp + 6dp 16dp 36dp -- cgit v1.2.3