Android HorizontalScrollView嵌套CustomView
在HorizontalScrollView中如果要嵌套CustomView,要在CustomView的onMeasure方法设置CustomView的宽高,不然CustomView不能显示出来。
[code="java"]@Override
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
...
原创
2015-04-14 10:23:14 ·
136 阅读 ·
0 评论