place artwork center at 60% screen height (100/60)

This commit is contained in:
Adrian Ulrich 2015-04-12 19:48:03 +02:00
parent 19750338b5
commit dfa0e784ca

View File

@ -214,7 +214,7 @@ public final class CoverView extends View implements Handler.Callback {
for (Bitmap bitmap : mActiveBitmaps) {
if (bitmap != null && scrollX + width > x && scrollX < x + width) {
int xOffset = (width - bitmap.getWidth()) / 2;
int yOffset = (height - bitmap.getHeight()) / 2;
int yOffset = (int)((height - bitmap.getHeight()) / 1.66);
canvas.drawBitmap(bitmap, x + xOffset - scrollX, yOffset, null);
}
x += width;