I want to display a LinearLayout from the XML-resources in another pre-existing one so I can easily make copies from the same model.
(without having to declare programmatically all the buttons, textViews...)
I'm looking for a method like the one that works for activities:
setContentView(R.layout.myLayout);
Is it possible? And how?
Thanks a lot.