Thank you skink! But why the lines are thinner? how to make them the same as TextView?
On Apr 4, 9:41 pm, skink <psk...@gmail.com> wrote: > On Apr 4, 3:37 pm, mathcat <scien...@gmail.com> wrote: > > > In a custom view extending View, I call mPaint.drawText in the onDraw > > method, with a new Paint object mPaint. But the text drawn looks > > different to the default TextView, the lines are thinner and not > > smooth(like rope bitten by some insects). I just want it to be the > > same look as TextView.How to do that? Sorry I`m not quite familiar > > with Android graphics > > You can exterminate the insects with special weapon called > antyaliasing. > > pskink -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en