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
精彩评论