ExpandableListView elv = (ExpandableListView) findViewById(R.id.elv_main); elv.setAdapter(adapter); for(int i=0; i < adapter.getGroupCount(); i++) { elv.expandGroup(i); }
http://stackoverflow.com/questions/6081007/expandablelistview-group-view-expand-default