Make a String text Bold in Java Android

Posted by meskh on Stack Overflow See other posts from Stack Overflow or by meskh
Published on 2014-06-08T21:18:27Z Indexed on 2014/06/08 21:24 UTC
Read the original article Hit count: 190

Filed under:
|
|
|
|

I want to make Habit Number: bold , I tried the HTML tag but it didn't work. I did some research but couldn't find any. Hope someone is able to help me. Thanks!

String habitnumber = "Habit Number: " + String.valueOf(habitcounter);
String Title = habit.getTitle();
String description = habit.getDescription();


//Set text for the row
                tv.setText(habitnumber+ "\n" + Title + " \n" + description + "\n --------------------");

© Stack Overflow or respective owner

Related posts about java

Related posts about android