Making part of a string bold in textview

view full story

http://stackoverflow.com – Why is the following code not working? It works in a Toast but not in a TextView. boldName doesn't show up as bold when I run my program but it does show up as bold when I set it to a Toast. Does anyone have any other solutions? String boldName = "<b>" + name + "</b>"; Spanned conBold = Html.fromHtml(boldName); chosen_contact.setText("You have chosen " + conBold + " as your contact."); (HowTos)