假如有一个布局文件A.xml想把另外一个布局文件B.xml引进其布局,则可以通过下面的代码

<include layout="@layout/B" />

 

程序猿必读

posted on 2017-01-06 15:46  龙种人  阅读(1983)  评论(0编辑  收藏  举报