Background 中文 Generally, when writing a page, everyone writes the layout through xml, and loads the xml layout into memory through set contentView or LayoutInflater.from(context).inflate method. advantage Good maintainability Support instant preview Clear code structure Disadvantage Reading xml i