读书人

无法理解的onMeasure(int widthMeasur

发布时间: 2012-03-09 21:42:55 作者: rapoo

无法理解的onMeasure(int widthMeasureSpec, int heightMeasureSpec)
自己继承ViewGroup实现一个视图。重写protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec)
发现执行该函数时widthMeasureSpec值为1073742304,heightMeasureSpec值为-2147482923。

这两个值是什么意思?

谢谢。

[解决办法]
恭喜楼主解决问题

读书人网 >Android

热点推荐