Moon Light Box

Time is Money

Android - Set Bold Type in Text View

| Comments

textStyle has three type.
- normal
- bold
- italic

1. XML

android:textStyle="bold"

2. Programming

textView.setTypeface(Typeface.DEFAULT_BOLD);

Reference:android:textStyle

Comments

comments powered by Disqus