title: Formatting TextView text using values/strings.xml, HTML and CSS
body: <p>I am trying to format a TextView with lots of text to look better, and since I feel this is very easy with HTML and CSS I thought I'd give it a go. And since having it in values/strings.xml lets you localize, I found this to be the best option. Now, I manage to get HTML in a string fine with:</p>
  
  <pre><code>&lt;![CDATA[ &lt;html code here&gt; ]]&gt;
  </code></pre>
  
  <p>But if I try for example:</p>
  
  <pre><code>&lt;![CDATA[
      &lt;html&gt;
      &lt;head&gt;
      &lt;body&gt;
      &lt;style type=\"text/css\"&gt;
          p {
          display: block;
          border-bottom: 1px solid #31B6E7; }
      &lt;/style&gt;
      &lt;/head&gt;
      ...
      etc
  ]]&gt;
  </code></pre>
  
  <p>It will just paste the CSS code as plain text, is it not possible to format using CSS this way or does anyone have a good tip for me here?</p>
  
  <p>Thanks for any help on this one.</p>