开发者

how to split main.xml to other xmls?

I have main.xml and is a very large file, i want to split some of the components(some layouts) to other xml so that i can lin开发者_开发知识库k from main.xml itself. is this possible from android ?


You can use this

<include  layout="@layout/commonlayout" android:id="@+id/id" />

Refer this import xml into another xml

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜