place artwork center at 60% screen height (100/60)
This commit is contained in:
parent
19750338b5
commit
dfa0e784ca
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user