enabled anti alising for tiles
This commit is contained in:
parent
2738d834b4
commit
c2af2ef812
|
@ -129,6 +129,7 @@ public class UIHelper {
|
||||||
int textColor, int left, int top, int right, int bottom) {
|
int textColor, int left, int top, int right, int bottom) {
|
||||||
Paint tilePaint = new Paint(), textPaint = new Paint();
|
Paint tilePaint = new Paint(), textPaint = new Paint();
|
||||||
tilePaint.setColor(tileColor);
|
tilePaint.setColor(tileColor);
|
||||||
|
textPaint.setFlags(Paint.ANTI_ALIAS_FLAG);
|
||||||
textPaint.setColor(textColor);
|
textPaint.setColor(textColor);
|
||||||
textPaint.setTypeface(Typeface.create("sans-serif-light",
|
textPaint.setTypeface(Typeface.create("sans-serif-light",
|
||||||
Typeface.NORMAL));
|
Typeface.NORMAL));
|
||||||
|
|
Loading…
Reference in a new issue