title: Why my drawable ListView divider disappeared?
body: <p>When scrolling the ListView slowly, I found that the red divider disappeared from top. How do I solve it?</p>
  
  <pre><code>public class UITestActivity extends ListActivity {
  @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      ListView listView = this.getListView();
      listView.setBackgroundColor(android.graphics.Color.WHITE);
      listView.setCacheColorHint(android.graphics.Color.TRANSPARENT);
      listView.setAdapter(new ArrayAdapter&lt;String&gt;(this,
              android.R.layout.simple_expandable_list_item_1, getData()));
      listView.setDivider(new ColorDrawable(android.graphics.Color.RED));
      listView.setDividerHeight(50);
      listView.setFadingEdgeLength(0);
  }
  
  private List&lt;String&gt; getData() {
      List&lt;String&gt; data = new ArrayList&lt;String&gt;();
      for (int i = 0; i &lt; 20; i++) {
          data.add("data" + i);
      }
      return data;
  }
  }
  </code></pre>