Android Text-view.
Is there any way to change some of the character displayed in a TextView as bold as shown below?
Asked
Active
Viewed 658 times
0

InnocentKiller
- 5,234
- 7
- 36
- 84

Sishin
- 2,001
- 1
- 17
- 22
-
See http://stackoverflow.com/questions/1529068/is-it-possible-to-have-multiple-styles-inside-a-textview – Adil Mar 31 '14 at 09:40
4 Answers
4
You can try the following
yourTextView.setText(Html.fromHtml("Here you write html formatted text"));

elmorabea
- 3,243
- 1
- 14
- 20
3
Try like
textView.setText(Html.fromHtml("Text" + "<b>" + View + "</b>"));

Shailendra Madda
- 20,649
- 15
- 100
- 138
0
you can take two textview and display your text one is in bold and other is without any effect simple solution.

Riddhi Shah
- 477
- 7
- 26