I see there is a TextAppearanceSpan available but no examples on usage. I just want to make the text bold and leave everything else unchanged – is there perhaps a simpler way to do this programmatically?
I see there is a TextAppearanceSpan available but no examples on usage. I just
Share
All you need is to create an xml file in res/values and write something like the following:
Then all your need is to pass generated R.style.header to the TextAppearanceSpan constructor.