title: Trying to set an image in textView from in Strings.xml in android
body: <p>I am trying to set an image stored in assets folder in strings.xml and set that string to a TextView. Is this possible?</p>
  
  <p>Strings.xml has the following string:</p>
  
  <pre><code>&lt;string name="nofriends"&gt;No Friends.. &lt;![CDATA[&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt; &lt;img src=\"file:///android_asset/sad.png\"/&gt;]]&gt;&lt;/string&gt;
  </code></pre>
  
  <p>And in my java file I am setting something like this"</p>
  
  <pre><code>Spanned text = Html.fromHtml(res.getString(R.string.nofriends));
  noFriends.setText(text);
  </code></pre>
  
  <p>I am getting the text with a small green box but not the actual image? </p>
  
  <p>Can anybody help me fix this?</p>