title: I want to inflate an xml file into MainActivity
body: <p>I have an xml file named " <code>Editt.xml</code> ",I want to inflate <code>@+id/myEditText</code> into MainActivity every time I click an Button from the <code>activty_main</code> named " <code>@+id/Button01</code> "</p>
  
  <p>" Editt.xml " is this :</p>
  
  <pre><code>&lt;LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  &gt;
  
  
  &lt;EditText
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:id="@+id/myEditText"
      android:layout_weight="1" /&gt;   &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>and " activity_main "</p>
  
  <pre><code>&lt;RelativeLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"&gt;
  &lt;Button
      android:text="Button01"
      android:id="@+id/Button01"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"&gt;&lt;/Button&gt;
  &lt;ScrollView
      android:layout_below="@id/Button01"
      android:id="@+id/scrollview"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:layout_above="@+id/tableRow"&gt;
  
  
  
   &lt;LinearLayout
          android:id="@+id/gamehistory"
          android:orientation="vertical"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"&gt;
  
      &lt;/LinearLayout&gt;
  
  &lt;/ScrollView&gt;
  </code></pre>
  
  <p></p>