title: Android - string-array values that have HTML
body: <p>If I have this string array:</p>
  
  <pre><code>&lt;string-array name="htmlstrings"&gt;
      &lt;item&gt;&lt;i&gt;blah&lt;br /&gt;blah&lt;/i&gt;&lt;/item&gt;
      &lt;item&gt;&lt;b&gt;1st line&lt;br /&gt;2nd line&lt;/b&gt;&lt;/item&gt;
  &lt;/string-array&gt;    
  </code></pre>
  
  <p>And I get it and set it as text:</p>
  
  <pre><code>String[] htmlstrings = getResources().getStringArray(R.array.htmlstrings);
  textV.setText(Html.fromHtml(htmlstrings[1]));
  </code></pre>
  
  <p>As output I get:</p>
  
  <pre><code>1st line2nd line
  </code></pre>
  
  <p>But I want to get</p>
  
  <p><strong>1st line</strong></p>
  
  <p><strong>2nd line</strong></p>
  
  <p>For regular strings (not string-array) I know I can get and display HTML with <code>getText()</code> like:</p>
  
  <pre><code>textV.setText(getText(R.string.onehtmlstring));
  </code></pre>
  
  <p>but I don't know what's the <code>getText()</code> equivalent for a string-array.</p>