title: String size and font change in string.xml file
body: <p>In my android application, i have to write a string into a file. Before that I want to format the string to make the font bold and have a new text size. So I modify the <code>string.xml</code> by</p>
  
  <pre><code> "&lt;string name="file_title" &gt;&lt;b&gt;#title*&lt;/b&gt;&lt;/string&gt;",
  </code></pre>
  
  <p>for bold the text and wrote to text file. But it is not showing as bold in the file. </p>
  
  <ol>
  <li>Is that right method i used to implement the string bold?</li>
  <li>Also i want to know how to change the text size of a string direct
  from string.xml</li>
  </ol>
  
  <p>how to add that boldness in file... i tried  </p>
  
  <pre><code>  "&lt;string name="note"&gt;&lt;![CDATA[&lt;b&gt;title&lt;/b&gt;]]&gt;&lt;/string&gt;"
  </code></pre>
  
  <p>in java code get your string</p>
  
  <pre><code>  yourtextview.setText(Html.fromHtml(getString(R.string.note)));
  </code></pre>
  
  <p>by using texview it"s coming bold , exaclty i want to write to file, using the below code</p>
  
  <pre><code> "bufferWritter.write(String.valueOf(Html.fromHtml(getString(R.string.note))));"
  </code></pre>
  
  <p>but i can"t see the boldness in my print.txt file...</p>
  
  <p>Thanks &amp; Regards
  Anoop</p>