title: problem on set content view
body: <p>I have two xml file. I want this two xml file in the same activity but when I try to use it I am getting error.</p>
  
  <p>code for 1.xml</p>
  
  <pre><code>&lt;LinearLayout
         xmlns:android="http://schemas.android.com/apk/res/android"
         android:layout_width="fill_parent"
         android:layout_height="fill_parent"
         android:orientation="vertical"
         android:layout_gravity="center_vertical|center_horizontal"
         android:background="@drawable/back_image"&gt;
        &lt;ImageView android:src="@drawable/loading_logo"
           android:id="@+id/ImageView01"
           android:layout_gravity="center_vertical|center_horizontal"
           android:layout_width="wrap_content"
           android:layout_height="wrap_content"
           android:layout_marginTop="120dip"&gt;
        &lt;/ImageView&gt;
        &lt;TextView 
          android:id="@+id/textView1" 
          android:text="www.seecycle.com"
          android:layout_marginTop="100dip"
          android:gravity="center_horizontal|center_vertical"
          android:layout_width="fill_parent" 
          android:layout_height="wrap_content"
          android:layout_below="@+id/ImageView01"
          android:textColor="#FFFFFF"
          android:textSize="20dip"&gt;
        &lt;/TextView&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>code for 2.xml</p>
  
  <pre><code>    &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              android:orientation="vertical"    
              android:layout_width="fill_parent"    
              android:layout_height="fill_parent"
              android:id="@+id/layout_root"&gt;
                &lt;TextView android:id="@+id/text"
                android:gravity="center_vertical|center_horizontal"
                android:layout_marginTop="10dip"
                android:layout_width="fill_parent"
                android:layout_height="fill_parent"
                android:textColor="#FFFFFF"
                /&gt;
                &lt;TextView android:id="@+id/text1"
                android:layout_marginTop="10dip"
                android:gravity="center_vertical|center_horizontal"
                android:layout_width="fill_parent"
                android:layout_height="fill_parent"
                android:layout_below="@+id/text"
                android:textColor="#FFFFFF"
                /&gt;
                &lt;TextView android:id="@+id/text2"
                android:layout_marginTop="10dip"
                android:gravity="center_vertical|center_horizontal"
                android:layout_width="fill_parent"
                android:layout_height="fill_parent"
                android:layout_below="@+id/text1"
                android:textColor="#FFFFFF"
                /&gt;
                &lt;EditText android:id="@+id/text3"
                android:layout_width="fill_parent"
                android:layout_marginTop="20dip"
                android:layout_height="fill_parent"
                android:layout_below="@+id/text1"
                android:textColor="#000000"
  
  
                /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>code for .java file</p>
  
  <pre><code>public void onCreate(Bundle savedInstanceState) 
  {
      super.onCreate(savedInstanceState);
  setContentView(R.layout.1);
  setContentView(R.layout.2);//when i use this it generate an error
  }
  </code></pre>