//How to make color or highlight the selected row in "Expandable List Activity"?
public class ContactList extends ExpandableListActivity{ private ExpandableListAdapter mAdapter; public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); mAdapter = getMyExpandableListAdaptor(); //return of SimpleExpandableListAdapter setListAdapter(mAdapter); } . . . public boolean onChildClick(ExpandableListView parent, View v, int groupPosition, int childPosition, long id) { eListView.setBackgroundColor(Color.TRANSPARENT); eListView.setCacheColorHint(Color.TRANSPARENT); v.setBackgroundColor(Color.BLUE);//Here this make multiple selection (BLUE colored) in diff group } . . . } --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---