title: android get formatted string via webservice
body: <p>In my android app, I send an HTTP POST Request and get a <strong>responseString</strong> like this:</p>
  
  <pre><code>Titel&lt;br /&gt;&lt;div style="color: #D88948"&gt;Description&lt;/div&gt;
  </code></pre>
  
  <p>this string I would like to set in a textview with the same style.<br>
  I know that I have to convert the <code>&lt;br /&gt;</code> to perform a line break.</p>
  
  <p>For this I use this code:</p>
  
  <pre><code>Html.fromHtml(responseString.replace("\n", "&lt;br /&gt;")));
  </code></pre>
  
  <p>but how can I apply the font color for my description?</p>
  
  <pre><code>&lt;TextView android:id="@+id/txtview"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_marginTop="20dp"
          android:textSize="13dp"
          android:textAppearance="?android:attr/textAppearanceLargePopupMenu"/&gt;
  </code></pre>
  
  <p><strong>AutoComplete</strong></p>
  
  <pre><code>responseString = "Titel&lt;br /&gt;&lt;div style="color: #D88948"&gt;Description&lt;/div&gt;";
          ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;&gt;(
                  this,
                  R.layout.autocomplete, R.id.txtresponseString,
                  responseString 
          );
          TextView.setAdapter(adapter);
  </code></pre>