I have a following piece of layout in my xml file. There are other similar RelativeLayouts
in my xml
<RelativeLayout
android:id="@+id/contentTextViewLayout"
android:layout_weight="0.9"
android:layout_width="fill_parent"
android:layout_height="0dip">
<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"/>
</RelativeLayout>
I want to change the layout_weight
parameter of the RelativeLayout
in my code. How can I do that?