plectrum

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit ecf9355a9ceac4b4200142af5839bf6a59b4ea40
parent 8cee5c1710404cd55ee3328092134ad6ebd8b76d
Author: gstraube <gstraube@mailbox.org>
Date:   Mon, 10 Jul 2017 19:55:27 +0200

Move text lower

Diffstat:
Mapp/src/main/java/com/github/cythara/TunerView.java | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/src/main/java/com/github/cythara/TunerView.java b/app/src/main/java/com/github/cythara/TunerView.java @@ -40,7 +40,7 @@ public class TunerView extends View { private void drawText(Canvas canvas) { float x = canvas.getWidth() / 2F; - float y = canvas.getHeight() / 2F; + float y = canvas.getHeight() - canvas.getHeight() / 3F; String note = pitchDifference.closest.name(); float offset = textPaint.measureText(note) / 2F;