aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/utils
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-07-02 10:43:36 +0200
committeriNPUTmice <daniel@gultsch.de>2014-07-02 10:43:36 +0200
commitc2af2ef812b66f765a21434f6926cb21f1c85c14 (patch)
tree4aff90f14e01ba6b5aee1ea8964ba9c06f043804 /src/eu/siacs/conversations/utils
parent2738d834b450e1c0bfd2756ea2ab1900cc3aae59 (diff)
enabled anti alising for tiles
Diffstat (limited to 'src/eu/siacs/conversations/utils')
-rw-r--r--src/eu/siacs/conversations/utils/UIHelper.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/utils/UIHelper.java b/src/eu/siacs/conversations/utils/UIHelper.java
index 15bb8969..529d2b4c 100644
--- a/src/eu/siacs/conversations/utils/UIHelper.java
+++ b/src/eu/siacs/conversations/utils/UIHelper.java
@@ -129,6 +129,7 @@ public class UIHelper {
int textColor, int left, int top, int right, int bottom) {
Paint tilePaint = new Paint(), textPaint = new Paint();
tilePaint.setColor(tileColor);
+ textPaint.setFlags(Paint.ANTI_ALIAS_FLAG);
textPaint.setColor(textColor);
textPaint.setTypeface(Typeface.create("sans-serif-light",
Typeface.NORMAL));