摘要: 方法 inflate(int resource, ViewGroup root, boolean attachToRoot) 中,前连个参数都好理解,我比较费解的是第3个参数。文档中的解释是:Whether the inflated hierarchy should be attached to the root parameter? If false, root is only used to create the correct subclass of LayoutParams for the root view in the XML.举个例子看一下新建一个工程工程包含两个xml文件lay 阅读全文
posted @ 2012-02-18 23:07 Yuxing 阅读(18514) 评论(2) 推荐(5) 编辑