title: How to use String.format to create a formatted title
body: <p>I found <a href="https://stackoverflow.com/questions/21550941/cant-format-action-bar-title">this question</a>, and that works fine. But I have a resource string which is a format string that goes into <code>String.format</code>. </p>
  
  <p>Consider <code>R.string.test</code> to be <code>This is a test: &lt;b&gt;%1$s&lt;/b&gt;</code>.</p>
  
  <p>Then this code:</p>
  
  <pre><code>getActionBar().setTitle(String.format(getString(R.string.test), "TEST"));
  </code></pre>
  
  <p>does not show bold, but this does (but it doesn't show the replaced string obviously):</p>
  
  <pre><code>getActionBar().setTitle(getResources().getText(R.string.test));
  </code></pre>
  
  <p>How can I use <code>String.format</code> to create a formatted title?</p>