阅读背景:

你怎么知道什么时候绘制了布局?

来源:互联网 

I have a custom view that draws a scrollable bitmap to the screen. In order to initialize it, i need to pass in the size in pixels of the parent layout object. But during the onCreate and onResume functions, the Layout has not been drawn yet, and so layout.getMeasuredHeight() returns 0. I have a custom view that draws a scrollable bi




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: