Android's <include />
element allows you to include other XML layouts. Useful for a common header across several activities.
But, what if you want to include a layout several times in the same view? For instance, I have a carefully crafted layout that I want to display three times in my view. Every of those instances would need different values. Since the include
is basically a take that XML and paste it here, I'd need something more powerful.
Is there some mechanism to do this?
(Did I explain myself correctly?)