网站介绍:关于getMeasuredHeight和getHeight区别getMeasuredHeight:是用于测量的高度,也就是View实际的高度(先暂时这么记,后面还有一个显示出来的高度),getMeasuredHeight的值是在onMeasure方法里面通过setMeasuredDimension();设置出来的。也就是说要在onMeasure方法之后调用,不能再之前,这样会得到0。 如果你的Vi_measuredheight
- 链接地址:https://blog.csdn.net/qq_29951983/article/details/50571840
- 链接标题:关于getMeasuredHeight和getHeight区别-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:4101
- 网站标签:measuredheight