2012年10月30日
摘要: onMeasure()会调用measureVertical(intwidthMeasureSpec,intheightMeasureSpec)mTotalLength保存已经measure过的child所占用的高度void measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, int heightMeasureSpec, int totalHeight) //对每一个child进行测量,heightMeasureSpec为LinearLayout本身... 阅读全文
posted @ 2012-10-30 22:28 清水湾 阅读(702) 评论(0) 推荐(0)