diff --git a/library/src/at/technikum/mti/fancycoverflow/FancyCoverFlowItemWrapper.java b/library/src/at/technikum/mti/fancycoverflow/FancyCoverFlowItemWrapper.java index d691615..76fc40c 100644 --- a/library/src/at/technikum/mti/fancycoverflow/FancyCoverFlowItemWrapper.java +++ b/library/src/at/technikum/mti/fancycoverflow/FancyCoverFlowItemWrapper.java @@ -201,7 +201,7 @@ protected void dispatchDraw(Canvas canvas) { } } - canvas.drawBitmap(this.wrappedViewBitmap, (this.getWidth() - childView.getWidth()) / 2, 0, paint); + canvas.drawBitmap(this.wrappedViewBitmap, (this.getWidth() - childView.getWidth()) / 2, (this.getHeight() -childView.getHeight()) /2, paint); } // =============================================================================