In my app, I'd like to define a format string in strings.xml that looks like this (note the <b>...</b> tags):
<string name="location"><b>Location:</b> %1$s</string>
And then use getString(int, Object...) to substitute in a format argument:
String formattedString = getString(R.string.location, "Edmonton, AB");
This produces a value of "Location: Edmonton, AB". I'd like to get a value of "<b>Location:</b> Edmonton, AB".
Is there some way of doing this using string formats in strings.xml without splitting it up into two strings?