Back to project page CheckListView.
The source code is released under:
Apache License
If you think the Android project CheckListView listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package it.feio.android.checklistview.dragging; //from w ww . j a va 2 s. c o m import android.annotation.TargetApi; import android.graphics.Point; import android.os.Build; import android.view.View; import android.view.View.DragShadowBuilder; @TargetApi(Build.VERSION_CODES.HONEYCOMB) public class ChecklistViewDragShadowBuilder extends DragShadowBuilder { ChecklistViewDragShadowBuilder(View view) { super(view); } public void onProvideShadowMetrics(Point size, Point touch) { int width = getView().getWidth(); int height = getView().getHeight(); size.set(width, height); touch.set(10, 20); } }