[inflater.inflate(R.layout.fragment_my_fragment2, container,false);
1.第二个parent是否有父类,如果有使用parent的LayoutParam,并加载子类view到父类中,
否则使用自己的参数并替代父类View,
布尔值是否依附在Root中。
[inflater.inflate(R.layout.fragment_my_fragment2, container,false);
1.第二个parent是否有父类,如果有使用parent的LayoutParam,并加载子类view到父类中,
否则使用自己的参数并替代父类View,
布尔值是否依附在Root中。
本文标题:View inflate 的参数含义
本文链接:https://www.haomeiwen.com/subject/abnipttx.html
网友评论