2011-04-12 61 views

回答

0

您可以使用registerForContextMenu()

registerForContextMenu(getExpandableListView()); 

additionaly這個你必須重寫:

@Override 
public boolean isChildSelectable(int groupPosition, int childPosition) { 
    return true; 
}