XMLでそれを行う方法をまだ見つけていません。テキストビューを左に配置し、イメージビューを右に配置する必要があります。コードは次のとおりです。
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<TableRow
android:id="@+id/tr1"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<TextView
android:layout_height="wrap_content"
android:text="Vibration"
android:layout_width="wrap_content" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dip"
android:src="@drawable/ic_launcher" />
</TableRow>
</TableLayout>
それを行う方法はありますか?