【发布时间】:2012-09-15 22:11:36
【问题描述】:
可能重复:
What is the difference between getWidth/heigth() and getMeasuredWidth/Heigth() in Android SDK?
在所有情况下,哪个函数会检索视图的实际宽度?这两者有什么区别?谢谢。
【问题讨论】:
-
我相信这就是您正在寻找的答案。 stackoverflow.com/a/8664581/410487