You should take a look at the Notepad application provided with the android sdk. In this application there is multiple activities (NoteEditor and NotesList for example) and multiple layouts (note_editor.xml, …).
If this doesn’t help, feel free to ask for a more specific question (for instance what XML are you talking about).
solved More Than One Activity