2014年9月17日
摘要: Android开发经常需要在Activity显示前获取某个View的高度和宽度,例如:程序需要在onCreate()方法中得到一个View的高度和宽度,或者需要知道一个Visibility为Gone的View的高度和宽度。此时如果直接调用View的getWidth()和getHeight()方法,得... 阅读全文
posted @ 2014-09-17 15:27 尹佳玮 阅读(1754) 评论(0) 推荐(0)