Vishwas Shukla
Vishwas Shukla

Reputation: 29

Not writing in LogCat

Shouldn't this be on the LogCat under info? It's not coming up

   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 );  
}

Upvotes: 1

Views: 252

Answers (1)

deadfish
deadfish

Reputation: 12304

Please check this sample image :) (right click to open image in real size)

enter image description here

Upvotes: 2

Related Questions