Skip to main content

include Tag

Overview

Include other layouts

Example

// Include layout a1 from the layout folder
<include android:layout="@layout/a1"/>


// Include layout a2 from the layout folder
<include layout="@layout/a2"/>


Properties

Common Properties

See Common Properties

Private Properties

PropertyDescriptionValues
layoutLayout file to includeString
Starts with @layout, followed by the XML file name in the layout folder