View[0] measure

【参考链接】   我们在写布局文件的时候,是在设置LayoutParams,共有3种模式: match_parent、wrap_content、dimens 这3种模式表达了我们希望给自己的View设置的宽度高度   但是,系统在进行测量measure()的时候,传进来的数据类型并不是LayoutParams,而是MeasureSpec。 1.      这个MeasureSpec是什么 Meas
相关文章
相关标签/搜索