Android: change textview settings (setTextColor) in listview-row layout
<p>Little complicated title, but i don't know how to tell in different way =D.</p>

<p>I have 1 activity and 2 layout xml files.<br>
in 1st .xml i have listview and in 2nd .xml i have items, which representing row in listview. it looks like in this tutorial: <a href="http://ykyuen.wordpress.com/2010/01/03/android-simple-listview-using-simpleadapter/" rel="nofollow">http://ykyuen.wordpress.com/2010/01/03/android-simple-listview-using-simpleadapter/</a>  </p>

<p>my question is: how can i programmatically change textviews settings in 2nd .xml (in tutorial grid_item.xml)<br>
 if i call <code>text1.setTextColor(Color.RED);</code> , it throws me exception java.lang.NullPointerException</p>
