首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

ExpandableListView根本需要

2012-09-25 
ExpandableListView基本需要展开int groupCount viewAdapter.getGroupCount()for (int i 0 i grou

ExpandableListView基本需要

展开

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));

?

热点排行