I am trying to resize text in android to make it bigger using;
Paint paint = new Paint();
paint.setTextSize(30);
canvas.drawText("Text goes here" , x, y,paint);
However the text gets pixelated.
Is there any other way of resizing text in android without it being ugly and pixelated?
Have you tried Paint.setAntiAlias(true)
to turn on anti-aliasing? Paint.setSubpixelText(true)
might also help.
http://developer.android.com/reference/android/graphics/Paint.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With