I have a string containing a URL which I would like to make bold. For some reason when I add the bold tags - the text still does not appear in this manner.
I'm sure it is something very simple. Does anyone know how this can be resolved?
Example:
<string name="updated_text">This is sample text. If this doesn’t work, go to<b> <a href="news.google.com">http://news.google.com</a></b> to find more infomation.</string>
Html.fromHtml(), which you do not appear to be using. String XML does not support the<a>tag, as per the String Resources documentation.<a>tag. Start by removing the<a>tag and see if that fixes the bold. Though since you probably want to keep that, you may also just want to move to a slightly different implementation now.