现在的位置: 首页 > 综合 > 正文

茴香豆的第五种写法—改变ExpandableListView系统自带图标显示位置

2013年02月19日 ⁄ 综合 ⁄ 共 184字 ⁄ 字号 评论关闭
//将ExpandableListView原本在左边的箭头使其在右边显示
	private void changeArrowLocation(){
		int width = getWindowManager().getDefaultDisplay().getWidth();
		mExpandableListView.setIndicatorBounds(width-70,width);
	}

抱歉!评论已关闭.