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 643 times
0
InnocentKiller
- 5,207
- 7
- 34
- 84
Sishin
- 1,991
- 1
- 16
- 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,203
- 1
- 13
- 20
3
Try like
textView.setText(Html.fromHtml("Text" + "<b>" + View + "</b>"));
Shailendra Madda
- 19,210
- 15
- 86
- 129
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
- 6
- 26