Insert a linearLayout inside another linearLayout
===

I'm trying to insert a linearLayout inside another linearLayout. I don't know if what i do is right or not. **I need to try this way, without using inflation**.

          LinearLayout address2;
          address2 = new LinearLayout(this);
          address2 = (LinearLayout)findViewById(R.id.sfsp2_layout);

          LinearLayout teste3 =   (LinearLayout)findViewById(R.id.se_contentAdressPostal);
    		
          LinearLayout teste4 = (LinearLayout)teste3.findViewWithTag("teste");
          teste4.addView(address2);
    
-------------------------------------------------------------------------------------------
          **LinearLayout teste3**

           <LinearLayout
            xmlns:android="http://schemas.android.com/apk/res/android"
            android:id="@+id/se_contentAdressPostal"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginBottom="2dp"
            android:background="@drawable/background_tile_address_postal"
            android:orientation="vertical" >
            
            <include
                xmlns:android="http://schemas.android.com/apk/res/android"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                layout="@layout/socio_form_structured_postal" />

-------------------------------------------------------------------------------------------
       **LinearLayout teste4**
   
          <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
          android:id="@+id/sfsp_layout"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:background="@drawable/background_tile"
          android:tag="teste"
          android:orientation="vertical" >

          <LinearLayout
         xmlns:android="http://schemas.android.com/apk/res/android"
         android:id="@+id/sfsp_layout_horizontal"
         android:layout_width="wrap_content"
         android:layout_height="49dp"
         android:layout_gravity="right"
          android:tag="teste"
         android:background="@drawable/background_tile"
         android:orientation="horizontal" >

         <Button
             android:id="@+id/sfsp_btStructuredPostal"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             android:layout_gravity="right"
             android:layout_marginBottom="2dp"
             android:layout_marginLeft="5dp"
             android:layout_marginRight="5dp"
             android:layout_marginTop="2dp"
             android:hint="@string/sfsp_btStructuredPostal" /> .......

-------------------------------------------------------------------------------------------

     **LinearLayour address2 ( The layout that i need to insert in layout4)**

         <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:id="@+id/sfsp2_layout"
     android:layout_width="wrap_content"
     android:layout_height="wrap_content"
     android:background="@drawable/background_tile"
     android:orientation="vertical" >

         <EditText
             android:id="@+id/sfsp2_etStructuredPostalApartado"
             android:layout_width="fill_parent"
             android:layout_height="wrap_content"
             android:layout_marginBottom="2dp"
             android:layout_marginLeft="65dp"
             android:layout_marginRight="55dp"
             android:layout_marginTop="2dp"
             android:layout_weight="0.14"
             android:ems="10"
             android:hint="@string/sfsp2_etStructuredPostalApartado"
             android:inputType="textMultiLine"
	         android:scrollHorizontally="false"  >
             




The linearLayout teste4 is inside teste3. And inside teste4 I need to insert linearLayout address2. You can tell me what i'm doing wrong?.