正在加载一言...
0%

遇到ScrollView中嵌入ListView,GridView冲突的解决

@Override
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
int expandSpec = MeasureSpec.makeMeasureSpec(Integer.MAX_VALUE >> 2,
MeasureSpec.AT_MOST);
super.onMeasure(widthMeasureSpec, expandSpec);
}

参考文章
http://blog.csdn.net/wangbf_java/article/details/60151965