I have overwritten onDragShadow
for a DragShadowBuilder
like so
@Override
public void onDrawShadow(Canvas canvas) {
super.onDrawShadow(canvas);
Bitmap bitmap = InGameActivity.getRandomBitmap();
Rect source = new Rect(0, 0, bitmap.getWidth(), bitmap.getHeight());
canvas.drawBitmap(bitmap, source, source, null);
}
I have verified that the bitmap is not null but when I drag, nothing is showing. Any ideas why?