Layout Inflation不能这么用

来源:互联网 发布:安卓java模拟器星星 编辑:程序博客网 时间:2024/05/22 10:25

inflate方法有三个参数,分别是

1.resource 布局的资源id

2.root 填充的根视图

3.attachToRoot 是否将载入的视图绑定到根视图中


http://blog.jobbole.com/72156/

http://www.2cto.com/kf/201407/313054.html

http://jingyan.baidu.com/article/a681b0de31f4753b1943464a.html

懵逼了

0 0
原创粉丝点击