I have a requirement to display text where only a substring is bold. Is there anyway to format so that only that only the substring (a date field) is shown in bold and it also have a different text size? I suppose I could use 3 TextViews and break this up but I would rather not.
Share
You can use bold and italic tags in Android TextViews. For more advanced formatting, you can just use SpannableStringBuilder to build your formatted String.