得到View的大小

一开始用getWidth,getHeight在activity onCreate中得到View的长宽,都是0,其实能够用getlayoutParameter.width,得到View的长。
相关文章
相关标签/搜索