title: Problems changing the background colors in an android listview without clicking
body: <p>When my application loads, I need some(not necessarily all) of the items in my list view to change their backgrounds without clicking on the ones I need. I know the method to change background, but I don't know how to extract the views from the ListView to do that.</p>
  
  <p>I looked at this question and the answer did not work: 
  <a href="https://stackoverflow.com/questions/10650692/how-to-change-background-color-list-view-item-without-click-on-any-of-them">https://stackoverflow.com/questions/10650692/how-to-change-background-color-list-view-item-without-click-on-any-of-them</a></p>
  
  <p>Here is some of my code:</p>
  
  <pre><code>    mApprovalList = new ArrayList&lt;String&gt;(Arrays.asList(getResources().getStringArray(R.array.approvals_array)));
      mAdapter = new ArrayAdapter&lt;String&gt;(this, 
                                          R.layout.approvals_list, 
                                          immApprovalList);       
      setListAdapter(mAdapter);       
      ListView lv = getListView();
      Log.v(String.valueOf(lv.getChildCount()), "count");
  </code></pre>
  
  <p>Also, that "log" returns 0.</p>
  
  <p>Thanks in advance!</p>