title: How is it possible to set a TextView under a other optjek, like a Button, in the JAVA file?
body: <p>is it possible to set a TextView in the Java file to a defined place?
  This is my xml file.  </p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  android:id="@+id/layoutebusbaum"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:paddingBottom="@dimen/activity_vertical_margin"
  android:paddingLeft="@dimen/activity_horizontal_margin"
  android:paddingRight="@dimen/activity_horizontal_margin"
  android:paddingTop="@dimen/activity_vertical_margin"
  tools:context=".EbusBaum" &gt;
  
  &lt;EditText
      android:id="@+id/EditText01"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:layout_alignParentTop="true"
      android:layout_centerHorizontal="true"
      android:ems="10"
      android:hint="Anzahl an Funktionsfeldern"
      android:inputType="number" &gt;
  
      &lt;requestFocus /&gt;
  &lt;/EditText&gt;
  
  &lt;EditText
      android:id="@+id/EditText03"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:layout_below="@+id/EditText01"
      android:layout_centerHorizontal="true"
      android:ems="10"
      android:hint="Anzahl an Parameterwerten"
      android:inputType="number" /&gt;
  
  &lt;EditText
      android:id="@+id/EditText02"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:layout_below="@+id/EditText03"
      android:layout_centerHorizontal="true"
      android:ems="10"
      android:hint="Anzahl an Funktionparameter"
      android:inputType="number" /&gt;
  
  &lt;Button
      android:id="@+id/button1"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_below="@+id/EditText02"
      android:layout_centerHorizontal="true"
      android:onClick="generate"
      android:text="Generieren" /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>and now i wanna set a TextView, on the onClick event from the button, under the button!! 
  here is my java code:</p>
  
  <pre><code>import android.widget.EditText;
  import android.widget.ImageView;
  import android.widget.LinearLayout;
  import android.widget.TextView;
  
  public class Ebusbaum extends Activity {
  
  Integer run1 = 0;
  Integer run2 = 0;
  Integer run3 = 0;
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.layout_ebusbaum);
  }
  
  
  @Override
  public boolean onCreateOptionsMenu(Menu menu) {
      // Inflate the menu; this adds items to the action bar if it is present.
      getMenuInflater().inflate(R.menu.ebusbaum, menu);
      return true;
  }
  
  public void generate(View Conect){
  
      EditText anz1 = (EditText) findViewById(R.id.EditText01);
      String anz11 = anz1.getText().toString();
      Integer Anzahl1 = Integer.parseInt(anz11);
  
      EditText anz2 = (EditText) findViewById(R.id.EditText02);
      String anz22 = anz2.getText().toString();
      Integer Anzahl2 = Integer.parseInt(anz22);
  
      EditText anz3 = (EditText) findViewById(R.id.EditText03);
      String anz33 = anz3.getText().toString();
      Integer Anzahl3 = Integer.parseInt(anz33);
  
      //Here i like to creat the Textview, but i dont know how!
  }   
  }
  </code></pre>
  
  <p>Is there someone who can help me? i searched in the internet and found some code exampels but my App doest work with these exampels. Im using android API 11.</p>