How to include layout inside layout in Android?
I am creating common layout. I want to include that layout in another page.
Edit: As in a comment rightly requested here some more information. Use the include tag
include
<include android:layout_width="match_parent" android:layout_height="wrap_content" layout="@layout/yourlayout" />
to include the layout you want to reuse.
Check this link out...
1.4m articles
1.4m replys
5 comments
57.0k users