title: Android: DrawRect Not getting Displayed on Canvas of HD phones
body: <p>Lately I have developed the Board Game ( <a href="https://play.google.com/store/apps/details?id=com.pradhan.manoj.CoinStack" rel="nofollow">https://play.google.com/store/apps/details?id=com.pradhan.manoj.CoinStack</a> ). It is working fine in all Android powered devices except few phones those are having HD display including Micromax Canvas HD and Samsung Galaxy Grand. I have been finding difficulty in figuring out what I have been doing wrong. Below is an extract from the code...</p>
  
  <pre><code>  rectPaint = new Paint();
    rectPaint.setAntiAlias(true);
    rectPaint.setDither(true);
    rectPaint.setColor(Color.BLACK);
    rectPaint.setStyle(Paint.Style.STROKE);
    rectPaint.setStrokeJoin(Paint.Join.ROUND);
    rectPaint.setStrokeCap(Paint.Cap.ROUND);
  
    //CurrentX, CurrentY are calculated dynamically
  
    rectPaint.setStyle(Paint.Style.FILL);
    canvas.drawRect(currentX,currentY,currentX+cellWidth,currentY-cellHeight,rectPaint);
    rectPaint.setStyle(Paint.Style.STROKE);
    rectPaint.setColor(Color.BLUE);
    canvas.drawRect(currentX,currentY,currentX+cellWidth,currentY-cellHeight,rectPaint);
  </code></pre>
  
  <p>Your expert advice/suggestion to nail down this issue is highly appreciated. </p>