title: listSelector for Group Header and Child Layout in ExpandableListview not working android
body: <p>I am using <code>ExpandableListview</code> that displays data dynamically from server.</p>
  
  <p>I used selector for <code>Group Header</code> and <code>Child Layout</code>, but I can't notice any selector that reflects.</p>
  
  <p>Pls help me how to get this done.</p>
  
  <p>Thanks in advance.</p>
  
  <p>row_highlighter.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;selector xmlns:android="http://schemas.android.com/apk/res/android"
     android:exitFadeDuration="@android:integer/config_mediumAnimTime"&gt;
  
     &lt;item android:drawable="@android:color/holo_blue_bright" android:state_pressed="true"/&gt;
     &lt;item android:drawable="@android:color/holo_blue_light" android:state_selected="true"/&gt;
     &lt;item android:drawable="@android:color/holo_blue_dark" android:state_activated="true"/&gt;
  &lt;/selector&gt;
  </code></pre>
  
  <p>ExpandableListviewDemo.java</p>
  
  <pre><code>expListView.setOnGroupClickListener(new OnGroupClickListener() {
  
              @Override
              public boolean onGroupClick(ExpandableListView parent, View v,int groupPosition, long id) {
  
                  int index = parent.getFlatListPosition(ExpandableListView.getPackedPositionForGroup(groupPosition));
                              parent.setItemChecked(index, true);
  
  
                  return false;
              }
          });
  
  
  
          // Clicking on Child        
          expListView.setOnChildClickListener(new OnChildClickListener() {            
              @Override
              public boolean onChildClick(ExpandableListView parent, View v,int groupPosition, int childPosition, long id) {
  
  
                  int index = parent.getFlatListPosition(ExpandableListView.getPackedPositionForChild(groupPosition, childPosition));
                  parent.setItemChecked(index, true);
  
  
                  return true;
              }
          });
  </code></pre>
  
  <p>activity_demo.xml</p>
  
  <pre><code>&lt;ExpandableListView
          android:id="@+id/search_expandable_listview"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:layout_gravity="start"
          android:choiceMode="singleChoice"
          android:divider="@color/list_divider"
          android:childDivider="@drawable/listview_divider"
          android:dividerHeight="1dp"        
          android:listSelector="@drawable/row_highlighter"
          android:background="@color/list_background"
          android:layout_below="@+id/search_header"
          android:layout_above="@+id/layout_option_buttons"                      
          android:scrollingCache="false"
          android:transcriptMode="disabled"
          android:fastScrollEnabled="false"
          android:smoothScrollbar="true"
          android:fastScrollAlwaysVisible="false"
          android:animationCache="false"
          android:persistentDrawingCache="none"
          android:alwaysDrawnWithCache="false"
          android:drawingCacheQuality="low"/&gt;
  </code></pre>