I already have a relative_layout.xml and it contains sub layouts. Now I’ve to add layout into in to one of the sub relative layout insite that relative_layout.xml. Could you please tell me how to achieve it programatically?
I already have a relative_layout.xml and it contains sub layouts. Now I’ve to add
Share
here is an example it will help you
What i am doing is i am fetching relative layout using findviewbyid and then creating checkbox. Then i am creating layout params add checkbox on relative layout according to that layout param.
Hope it will help you..