1
如果RadioGroup中的单选按钮数量较多,并希望它们伸展,而不是挤压成小按钮,我想将RadioGroup放在ScrollView中。但是这不起作用。任何人都知道如何实现这一目标?ScrollView中的RadioGroup不会填充ScrollView。相反,RadioButtons被挤压
<ScrollView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:fillViewport="true"
>
<RadioGroup
android:id="@+id/news_radiogroup"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
>
<RadioButton />
<RadioButton />
<RadioButton />
<RadioButton />
and more
</RadioGroup>
</ScrollView>
这解决了问题。没有想到,虽然有点明显。非常感谢你。 – 2012-03-02 17:01:05