How can i change the text color for the below line of code
<pre><code> TextView title[];     
 title = new TextView[nodeList.getLength()];


        for (int i = 0; i &lt; nodeList.getLength(); i++) {

            Node node = nodeList.item(i);

            title[i] = new TextView(this);

            Element fstElmnt = (Element) node;
            NodeList nameList = fstElmnt.getElementsByTagName("title");
            Element nameElement = (Element) nameList.item(0);
            nameList = nameElement.getChildNodes();
            title[i].setText(((Node) nameList.item(0)).getNodeValue());



            layout.addView(title[i]);

        }
    } catch (Exception e) {
        System.out.println("XML Parsing Excpetion = " + e);
    }

    setContentView(layout);

}
 }
</code></pre>

<p>This is my code.How can i add setTextcolor to title[i].setText(((Node) nameList.item(0)).getNodeValue()); in  the above code</p>
