不写在LogCat中

时间:2013-01-05 20:22:10

标签: android logcat

这不应该在信息下的LogCat上吗?它没有出现

   protected void onDraw(Canvas canvas) {
    xp1 = canvas.getWidth()/2;
    **Log.i("Test", "Good");**
    xp2 = canvas.getWidth()/2;
    yp1 = 25;
    yp2 = 760;
    canvas.drawColor(Color.BLACK);
    canvas.drawBitmap(paddle1, xp1,yp1, null);
    canvas.drawBitmap(paddle2,xp2,yp2, null);
    Paint white = new Paint();
    white.setColor(Color.WHITE);
    canvas.drawText("Score P1:"+ p1Score +" P2: " + p2Score , 700, 20,white );  
}

1 个答案:

答案 0 :(得分:2)

请检查此示例图片:)(右键单击以实际尺寸打开图像)

enter image description here