O meu texto de game over fica mais para esquerda da tela, em vez de ficar no meio.
public void desenhaNo(Canvas canvas) {
        String gameOver = "Game Over";
        int centroHorizontal = centralizaTexto(gameOver);
        canvas.drawText(gameOver, 0, tela.getAltura()/2, VERMELHO);
    } private int centralizaTexto(String texto) {
        Rect limiteDoTexto = new Rect();
        VERMELHO.getTextBounds(texto, 0, texto.length(), limiteDoTexto);
        int centroHorizontal = tela.getLargura()/2 - (limiteDoTexto.right - limiteDoTexto.left)/2; 
        return centroHorizontal;
    }Obrigado!
 
            