Я делал макет, который горизонтально отображает флажок, twolinelistitem, который по вертикали состоит из двух текстовых представлений, текстового просмотра и, наконец, радиокнопки, которая должна быть на самом правом краю.
Однако, когда я закончил, радиокнопки как-то расставлены больше, чем должно быть, и я понятия не имею, как это выяснить. Я изменил основной макет на tablelayout, но ничего не изменилось. Если вы не возражаете, не могли бы вы помочь мне решить это? Ниже мой код и скриншот, чтобы показать, что произошло.
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<CheckBox android:layout_height="wrap_content" android:layout_width="wrap_content"
android:id="@+id/checkBox1" />
<TwoLineListItem android:id="@+id/twoLineListItem1"
android:layout_weight="1"
android:paddingTop="10px"
android:layout_width="wrap_content" android:layout_height="wrap_content">
<TextView android:id="@+id/textView1"
android:text="TextView"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium" />
<TextView android:id="@+id/textView2"
android:text="TextView"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:paddingTop="30px"/>
</TwoLineListItem>
<TextView android:text="TextView"
android:id="@+id/textView3"
android:layout_weight="1"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:paddingTop="10px"/>
<RadioButton android:id="@+id/radioButton1"
android:gravity="right"
android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
И это скриншот, который содержит проблему: http://img684.imageshack.us/img684/3979/1134p.jpg
Заранее спасибо