Skip to content

Instantly share code, notes, and snippets.

@jaydee2991
jaydee2991 / DraggableOverlay.java
Created October 23, 2011 06:49 — forked from k-goto/DraggableOverlay.java
draggable overlay item
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Point;
import android.view.GestureDetector;
import android.view.GestureDetector.SimpleOnGestureListener;
import android.view.MotionEvent;