- 博客(1)
- 资源 (3)
- 收藏
- 关注
原创 为何在onCreate中通过View.post能获取宽高
我们在获取View的宽高时,其实执行的代码是:/** * Return the width of the your view. * * @return The width of your view, in pixels. */@ViewDebug.ExportedProperty(category = "layout")public final int getWidth() {...
2018-08-16 17:45:53 469
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人