i have textview defined in xml, setting typeface programmatically this:
textview.settypeface(app_font_regular); // custom font in assests (.ttf file).
now have set android:textstyle="bold"
in xml
but it's not applying bold?
what reason need apply own typface , set bold also.
i need apply own typface , set bold also.
you can set appearance when call settypeface()
this
textview.settypeface(app_font_regular, typeface.bold);
it solve problem. check out.
Comments
Post a Comment