如何将里面的android布局布局 [英] how to include layout inside layout in android
本文介绍了如何将里面的android布局布局的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何包括内部布局布局Android的?
How to include layout inside layout in Android?
我创造共同的布局。我想包括在另一个页面布局。
I am creating common layout. I want to include that layout in another page.
推荐答案
编辑:作为在这里理所当然地要求更多的信息评论。使用包括
标记
As in a comment rightly requested here some more information. Use the include
tag
<include
android:layout_width="fill_parent"
android:layout_height="wrap_content"
layout="@layout/yourlayout" />
包括要重复使用的布局。
to include the layout you want to reuse.
检查此链接的出......
Check this link out...
这篇关于如何将里面的android布局布局的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文