title: How to add a view programmatically to RelativeLayout?
body: <p>Can you give me a very simple example of adding child view programmatically  to <code>RelativeLayout</code> at a given position?</p>
  
  <p>For example, to reflect the following XML:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"&gt;
  
  &lt;TextView
      android:id="@+id/textView1"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_alignParentLeft="true"
      android:layout_alignParentTop="true"
      android:layout_marginLeft="107dp"
      android:layout_marginTop="103dp"
      android:text="Large Text"
      android:textAppearance="?android:attr/textAppearanceLarge" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>I don't understand how to create an appropriate <code>RelativeLayout.LayoutParams</code> instance.</p>