change layout_weight for relativelayoout in code
<p>I have a following piece of layout in my xml file. There are other similar <code>RelativeLayouts</code> in my xml</p>

<pre><code>    &lt;RelativeLayout
    android:id="@+id/contentTextViewLayout"
    android:layout_weight="0.9"
    android:layout_width="fill_parent"
    android:layout_height="0dip"&gt;
    &lt;TextView
        android:id="@+id/textViewStory1"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:lineSpacingMultiplier="1.2"
        android:textColor="#000000"
        android:background="@drawable/book"/&gt;
&lt;/RelativeLayout&gt;
</code></pre>

<p>I want to change the <code>layout_weight</code> parameter of the <code>RelativeLayout</code> in my code. How can I do that? </p>
