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 link from main.xml itself. is this possible from android ?
Split large XML file in Windows (Method #1) First, click the “Add XML File(s)” button to provide the input path of the file to split, or easily drag and drop your files. Then select the tag by which the new file will be split. Next, choose after what period of tags to split into a new file.
To import multiple XML files that use the same namespace but different XML schemas, you can use the From XML Data Import command.
After the map, use a data process shape to combine the flat files, and then a 2nd entry to split the flat file. The split will be flat file, split on profile, the Profile is the flat file, and Link Element would be stockid. Then do another map to make the flat file to original xml profile.
You can use this
<include layout="@layout/commonlayout" android:id="@+id/id" />
Refer this import xml into another xml
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With