我设计了一个活动,其中有两个单选按钮 但这些大小足够我想减少它 我正在使用文本这降低了纯文本 如果布局尺寸减小是减少大小只能浏览不能单选按钮圈如何在不使用新图像的情况下减少Android中单选按钮上显示的图像的大小
<RadioGroup
android:id="@+id/RG1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<RadioButton
android:id="@+id/N"
android:layout_width="wrap_content"
android:layout_height="30dip"
android:text="Yes"
android:textSize="12dip" />
<RadioButton
android:id="@+id/Y"
android:layout_width="wrap_content"
android:layout_height="30dip"
android:checked="true"
android:text="No"
android:textSize="12dip" />
</RadioGroup>
你可以给'机器人:layout_height = “WRAP_CONTENT”'每个'RadioButton'。但是你的问题标题和问题有些不同。在你的标题中,你会询问如何减少显示的**图像的大小,但在你的问题和代码中,你似乎没有使用任何图像。请重新设定您的问题。 – Ghost 2012-03-17 06:23:18
是的,我想减少默认图像的大小不是新图像 – Trikaldarshi 2012-03-17 06:25:23
_我question_:图像,配偶在哪里? – Ghost 2012-03-17 06:26:21