展开
int groupCount = viewAdapter.getGroupCount();
for (int i = 0; i < groupCount; i++) {
listviews.expandGroup(i);
}
//图标按钮显示在右边
Display newDisplay = getWindowManager().getDefaultDisplay();
int width = newDisplay.getWidth();
listviews.setIndicatorBounds(width - 50, width);
//替换标题图标
listviews.setGroupIndicator(this.getResources().getDrawable(R.drawable.XXX));