title: Android change listview item text color
body: <p>i'm trying to change some items text color (or backgroung color) in a list view based on a flag . after a long search i didn't find out how to do it , i'm calling the below loop after specific action to change the color:</p>
  
  <pre><code>ListView _listView = (ListView) findViewById(R.id.listView2);
  
          for (int i=0;i&lt;=_listView.getCount();i++)
          {   
             if(Falg == True)
             {
              //here i want to change the list view item color or backgroud color
             }
          }
  </code></pre>