2 line text 와 우측에 checkbox를 넣으려고 합니다.
text1, text2가 각각 1개의 row를 checkbox가 2개의 row를 가집니다.
이런 형식입니다.
 


TableLayout을 사용하여 text1,2와 checkbox를 위 형식대로 적용을 하였지만 정렬이 안되네요. (text1,2 left정렬, checkbox right정렬)
사용한 코드는 아래와 같습니다.

<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent">

 <TableRow>
      
  <LinearLayout
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:padding="6dip" android:orientation="vertical">
          <TextView
              android:id="@+id/toptext"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
           android:textSize="20px"/>
          <TextView
           android:id="@+id/bottomtext"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:singleLine="true"
              android:ellipsize="marquee"/>
  </LinearLayout>

  <CheckBox android:id="@+id/CheckBox01"
   android:layout_height="wrap_content"
   android:layout_width="fill_parent"
   android:layout_gravity="right">
  </CheckBox>

 </TableRow>
</TableLayout>


checkbox를 right정렬하고싶은데 위의 android:layout_gravity="right" 코드가 적용이 안되네요.

조언 부탁합니다~~~