• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Custom Font

hi,

in one view i'm adding TextView and AbsoluteLayout(Drawing text).
in AbsoluteLayout, i'm setting font like this,

new Paint().setTypeface(Typeface.DEFAULT_BOLD);

it worked.

But both text are looking different.

i tried using Typeface constants.

what font i need to use so that both looks same.

Please help me resolve this issue.

reddy
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones