title: How to Change the color of child divider of ExpanableListView by layout xml file?
body: <p>I want to change the color of child divider of <code>ExpandableListView</code> by writing:</p>
  
  <pre><code> android:childDivider="@drawable/yellow"
  </code></pre>
  
  <p>in layout file. However, when I collapse the item, I found the background of the <code>ExpandableListView</code> turn yellow (<code>@drawable/yellow</code>) , but I just want to change the color of child divider. Who can tell me why? To my surprise, if I change it by java code like </p>
  
  <pre><code>expandableListView.setChildDivider(this.getResources().getDrawable(R.drawable.yellow));
  </code></pre>
  
  <p>it works normally. It is very weird, who can tell me the reason? </p>
  
  <pre><code>&lt;!-- if I set childDivider in Layout xml, it can't work normally. 
       However, if set childDivider in java code, it work normally --&gt;
  
  &lt;ExpandableListView android:id="@+id/list"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:layout_alignParentLeft="true"
      android:dividerHeight="2dp"
      android:divider="@drawable/yellow"
      android:childDivider="@drawable/yellow"
      /&gt;
  </code></pre>