how to use another layout in android code example
Example: include android studio
<!-- Importation de notre Toolbar -->
<include
layout="@layout/fichier_a_inclure"
android:layout_width="match_parent"
android:layout_height="wrap_content" />