inserting a layout into another layout using its id in android
<p>I have a relative layout defined in a xml file(say realtive.xml). In another layout I have a relativelayout tag inside a linearlayout(say linear.xml). This realtive layout is empty and has an id say "rl". On clicking a button in linear.xml, I want the contents of relative.xml to be set in the relative layout with id "rl". <br>
How should this be done?</p>
