Make a String text Bold in Java Android
- by meskh
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 --------------------");