title: Change color of content in listview
body: <p>I am asking question in context with my previous <a href="https://stackoverflow.com/questions/18438735/detect-new-data-when-call-is-given-to-webservice">question</a></p>
  
  <p>I have following piece of code:</p>
  
  <pre><code>CallSoap cs=new CallSoap();
  
  
              lst=cs.GetMessage(id);
              lstNew=cs.GetNewMessage(id);
  
              int numOfMessages=lst.length-lstNew.length;  
  
              ArrayAdapter&lt;String&gt; adpt = new ArrayAdapter&lt;String&gt;(Messages.this, android.R.layout.simple_list_item_1,lst);
              lm.setAdapter(adpt);
  
              for (int i=0;i&lt;numOfMessages;i++)
              {
                  lm.
              }
  </code></pre>
  
  <p>I get number of new messages in variable : <code>numOfMessages</code></p>
  
  <p>lm is my <code>listview</code>.</p>
  
  <pre><code>ListView lm=(ListView)findViewById(R.id.listView1);
  </code></pre>
  
  <p>Suppose <code>numOfMessages=3</code> , then i just want to make the color of text of first 3 elements of my listview (lm) as red.</p>
  
  <p>Please help me how can i do that in this loop, in such a case.</p>