Sunday, May 11, 2014

How to Combine Layouts on the Android



1. Open the Eclipse Android development software from the Windows 'Start' menu and open your Android project.

2. Double-click the 'layout.xml' file that contains the layout you want to merge. The beginning of the layout.xml file has a 'FrameLayout' root tag.

3. Replace the 'FrameLayout' root tag with the 'merge' tag. Change the ending '

' with '

' as well.

4. Save the changes and click the 'Run' button in Eclipse to view the changes to your layout document.

No comments:

Post a Comment