I'm in the process of writing a toolbar in one of my views via XML - a toolbar that will be cloned in multiple views. In any case, can I refer to the same XML in all my representations, and not copy and paste the code? Am I forced to use a fragment or can I programmatically add the same XML?
source
share