title: Setting color using Html.fromHtml to TextView in Android is not working
body: <p>I am developing an Android app. In my app, I am trying to set different colors to text in a <code>TextView</code>. I mean multiple colors in a <code>TextView</code>. I am trying to use <code>Html.fromHtml</code> to do it. But it is not working. Please see my code below:</p>
  
  <p><code>TextView</code> xml:</p>
  
  <pre><code>&lt;TextView
      android:paddingTop="@dimen/general_line_spacing"
      android:paddingBottom="@dimen/general_line_spacing"
      android:textSize="@dimen/mm_item_title_size"
      android:textColor="@color/colorPrimaryText"
      android:id="@+id/mm_item_tv_title"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content" /&gt;
  </code></pre>
  
  <p>This is how I set text to <code>TextView</code></p>
  
  <pre><code>String title = post.getTitle();
  if(title!=null &amp;&amp; title.length()&gt;MAX_TITLE_LENGTH)
  {
      title = title.substring(0, MAX_TITLE_LENGTH);
      title = title + "&lt;font color='color:#2bb1ff'&gt; .... read more&lt;/font&gt;";
  }
  viewHolder.tvTitle.setText(Html.fromHtml(title));
  </code></pre>
  
  <p>As you can see, I am setting font color using html. But it is not working. "read more" text appended is always just the same color with other letters. So I tried this way too.</p>
  
  <pre><code>title = title + "&lt;![CDATA[&lt;font color='color:#2bb1ff'&gt; .... read more&lt;/font&gt;]]&gt;";
  </code></pre>
  
  <p>It is not working. This also:</p>
  
  <pre><code>title = title + "&lt;span style=color:'#2bb1ff'&gt; .... read more&lt;/span&gt;";
  </code></pre>
  
  <p>So how can I set multiple colors to text in a <code>TextView</code> please? Why my code is not working? How can I fix it?</p>