Saturday, March 1, 2014

How to Merge Layouts in Android



1. Open the XML file that contains the layout code for your Android application.

2. Delete the

opening tag at the top of the code and the

'closing tag at the end of the document.

3. Type

at the beginning of the document. This code will now act as the root code.

4. Type

at the end of the document to close the tag. The layouts contained within the

tag will now be merged.

No comments:

Post a Comment