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

Swipe Action and ViewFlipper in Android

Difference between SurfaceView and View in Android