View android.view.LayoutInflater.inflate(int resource, ViewGroup root)
root==null:return layout根
root!=nul:return root。
挂载到 root下。
View android.view.LayoutInflater.inflate(int resource, ViewGroup root, boolean attachToRoot)
root==null :return layout根
root!=null:且true return root。加到根。
root!=null :且false return layout。不加到跟。