How can I use html styles in strings with format arguments?
<p>In my app, I'd like to define a format string in strings.xml that looks like this (note the <code>&lt;b&gt;...&lt;/b&gt;</code> tags):</p>

<pre><code>&lt;string name="location"&gt;&lt;b&gt;Location:&lt;/b&gt; %1$s&lt;/string&gt;
</code></pre>

<p>And then use <a href="http://developer.android.com/reference/java/lang/String.html#format%28java.lang.String,%20java.lang.Object...%29" rel="nofollow">getString(int, Object...)</a> to substitute in a format argument:</p>

<pre><code>String formattedString = getString(R.string.location, "Edmonton, AB");
</code></pre>

<p>This produces a value of <code>"Location: Edmonton, AB"</code>. I'd like to get a value of <code>"&lt;b&gt;Location:&lt;/b&gt; Edmonton, AB"</code>.</p>

<p>Is there some way of doing this using string formats in strings.xml without splitting it up into two strings?</p>
