Thursday 28 July 2011

Android: make text bold programmatically

It's as easy as this...
myTextView.setTypeface(null, Typeface.BOLD);
... where myTextView is your TextView instance.

No comments: