enabled anti alising for tiles

This commit is contained in:
iNPUTmice 2014-07-02 10:43:36 +02:00
parent 2738d834b4
commit c2af2ef812

View File

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