由网友(扮从容)分享简介:我们能降低单选按钮的大小,Android的?? can we decrease the size of radio button in android ??推荐答案据我所知单选按钮可以做,但不会像其他的EditText或TextView的。As far as i know the radio button ca...
我们能降低单选按钮的大小,Android的??
can we decrease the size of radio button in android ??
推荐答案
据我所知单选按钮可以做,但不会像其他的EditText或TextView的。
As far as i know the radio button can be done but not like the other EditText or TextView..
试试这个code ..
Try this code..
<RadioGroup android:layout_width="fill_parent"
android:layout_height="50dp"
android:orientation="horizontal"
android:checkedButton="@+id/first">
<RadioButton android:id="@+id/first"
android:width="50dp"
android:height="50dp"
android:button="@drawable/button_radio"/>
<RadioButton android:id="@+id/second"
android:width="50dp"
android:height="50dp"
android:button="@drawable/button_radio"/>
<RadioButton android:id="@+id/third"
android:width="50dp"
android:height="50dp"
android:button="@drawable/button_radio"/>
<RadioButton android:id="@+id/fourth"
android:width="50dp"
android:height="50dp"
android:button="@drawable/button_radio"/>
</RadioGroup>
和也看看这个样品。这将帮助你很多。
And also take a look at this Sample.. This will help you alot..
相关推荐
最新文章