I was looking for a solution for this concept but as I am new I cant... please help
I have a child Relative Layout which is inside a linear Layout. This child Relative layout contains some elements in it.
In my program I need to generate new Relative Layouts like this one 5 times and add it to the parent Layout (which is the Linear layout)...
My idea is to get a reference of the 1st Relative Layout (along with all its child) and then create 5 more layouts like that.
how can I achieve this? Is there a smart way possible? can I quickly grab a reference of the RelativeLayout along with the child...?
thanks in advance...