Interview answers verified by specialists.
Find interview questions and answers on this website:
The program that uses the reusable user interface including the layout is given below: <com.android.launcher.Workspace android:id="@+id/workspace" android:layout_width="fill_parent" android:layout_height="fill_parent" launcher:defaultScreen="1"> <include android:id="@+id/cell1" layout="@layout/work" /> <include android:id="@+id/cell2" layout="@layout/work" /> </com.android.launcher.Workspace> The tag that is used in this are: <include />: this is the element tag and it includes other XML layout files. It calls the layout files by using their name and including @layout. This @ defines the inclusion of layout file in the program. The same out in the example is included two times. The tag overrides some attributes that are included in the layout. The id can be added that uniquely identifies the application and the components that are used inside it.