美文网首页
View inflate 的参数含义

View inflate 的参数含义

作者: RoboyCore | 来源:发表于2016-11-25 12:34 被阅读73次

[inflater.inflate(R.layout.fragment_my_fragment2, container,false);
1.第二个parent是否有父类,如果有使用parent的LayoutParam,并加载子类view到父类中,
否则使用自己的参数并替代父类View,

布尔值是否依附在Root中。

详情点击链接](http://blog.csdn.net/xyz_fly/article/details/37932989)

相关文章

网友评论

      本文标题:View inflate 的参数含义

      本文链接:https://www.haomeiwen.com/subject/abnipttx.html