阅读背景:

在膨胀布局上调用measure时出现空指针异常

来源:互联网 

So I have a layout that is a separate file, so I inflate it. Then I change my text views and image in my layout, and call measure, but I get a null pointer when I try to measure the layout. I cannot for the life of me figure out why this is. I'm trying to convert the layout to a bitmap eventually. So I have a layout that is a separate file, so




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

分享到: