I am making an AppWidget, and in its settings I allow the user to enable / disable the text shadow. Since I cannot call the shadow method through the RemoteViews class, I make a "draw" method that dynamically draws the widget and its container.
When drawing text, it becomes blurry and not as crispy as when using TextView. The only code I used to draw text:
Paint p = new Paint();
p.setAntiAlias(true);
p.setColor(Color.WHITE);
Is there any other magic to make it clearer?
Tomas source
share