Add mutilple linearLayouts inside another LinearLayout
===

Hy everybody.

I'm having trouble in my android application. I need add LinearLayouts inside another linearlayout. I'm using inflation. I'm trying to explain better.

     __________________________________________________
    |                                                  |
    |                                  BUTTON PLUS 1   |
    |   __________________________________________     |
    |   |                layout1   Button Plus 2  |    |
    |   |    ______________btnRemove1________     |    |
    |   |    |                       layout2 |    |    |
    |   |    |                               |    |    |
    |   |    |_____________btnRemove2________|    |    |
    |   |_________________________________________|    |   
    |                                                  |
    |   __________________________________________     |
    |   |             layout1  Button Plus 2      |    |
    |   |    ______________btnRemove1________     |    |
    |   |    |                       layout2 |    |    |
    |   |    |                               |    |    |
    |   |    |_____________btnRemove2________|    |    |
    |   |_________________________________________|    |
    |                                                  |
    |__________________________________________________|


My objective is: When I click on button plus1 add the layout1. When I click in button plus2 add the layout 2 inside layout1. My problem is that i need this a multiple times and the layouts with diferent id's. 

When I click on btnRemove1 i need to remove the layout1 and layout2 simultaneously. When i click btnRemove2 I need to remove layout2. I don't know if yout understand. 

Can you help me?
Thanks a lot