Android: Reference xml from another xml

view story

http://stackoverflow.com – I'm tryihng to set up a tabs layout in android. Inside the layout with id 'tab1', is there any way that I can reference another xml file? I just don't want to have a huge messy single file. Instead, I would like to reference a different file in each of the layouts with ids 'tab1', 'tab2', and 'tab3'. Here is tabs layout: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > <TabHost android:id="@+id/tabhost" (HowTos)