假如有一个布局文件A.xml想把另外一个布局文件B.xml引进其布局,则可以通过下面的代码 <include layout="@layout/B" /> 程序猿必读 转载于:https://www.cnblogs.com/longzhongren/p/6256578.html