Include attribute in Android

Include tag in android is used to add an layout XML file to another file. Here I am showing a simple way, to do this.

<include layout="@layout/newfile"/>

Here, "newfile" is the name of another layout file

Happy Coding...

Popular posts from this blog

AlarmManager and Notification in Android

Open Gallery and get the selected image in appplication

Dismiss or Cancel dialog by swipe gesture