title: Change Background Color of Clicked Child in Expandable ListView Android
body: <p>I want to change the background color of the child which is clicked in an ExpandableListView.
  That is, when any child is clicked, it's background color should get changed.
  I am trying to go it in this way but it selects some other row, not the one which has been clicked.</p>
  
  <pre><code>public boolean onChildClick(ExpandableListView parent, View v,
          int groupPosition, int childPosition, long id) {
  
      parent.getChildAt(childPosition).setBackgroundColor(Color.DKGRAY);
  
      return false;
  }
  </code></pre>
  
  <p>Please tell me what I might be missing.</p>