私のレイアウトxmlファイル内に次のコードがあります
<RelativeLayout
android:id="@+id/contentTextViewLayout"
android:layout_weight="9"
android:layout_width="fill_parent"
android:layout_height="0dip">
<TextView
android:id="@+id/textView1"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
</RelativeLayout>
コードで RelativeLayout の layout_weight 属性の値を取得するにはどうすればよいですか?