Lately I have developed the Board Game ( https://play.google.com/store/apps/details?id=com.pradhan.manoj.CoinStack ). 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...
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);
Your expert advice/suggestion to nail down this issue is highly appreciated.