I'm creating an app to play audio. The layout is such that I have to give buttons with the same function, look etc in different places within the same activity.
I was wondering if there is a way by which I define the button (image button in this case) once and then just use the same definition in the layout file each time.
A possible solution would be to use the
<include> tag. In other words: