Fix small UI issues

This commit is contained in:
Victor Shcherb 2011-11-29 09:27:21 +01:00
parent 1eb19f170c
commit 99f15dbd33

View file

@ -105,7 +105,7 @@ public class ContextMenuLayer extends OsmandMapLayer {
canvas.translate(-tx, -ty); canvas.translate(-tx, -ty);
if (textView.getText().length() > 0) { if (textView.getText().length() > 0) {
canvas.translate(x - textView.getWidth() / 2, ty - textView.getTop()); canvas.translate(x - textView.getWidth() / 2, ty - textView.getBottom());
int c = textView.getLineCount(); int c = textView.getLineCount();
textView.draw(canvas); textView.draw(canvas);