Why is the stroke at the corners of the rectangle so ugly? If I draw a form in xml, it works fine (at least it works in actions, I cannot validate it with a widget).
Paint strokePaint = new Paint();
strokePaint.setARGB(255, 16, 23, 131);
strokePaint.setStyle(Paint.Style.STROKE);
strokePaint.setStrokeWidth(8);

I am testing hdpi density. Has anyone encountered this problem?
source
share