开发者

Spanning radiogroup in two cells

开发者 https://www.devze.com 2023-02-15 02:39 出处:网络
I have a <RadioGroup android:orientation=\"horizontal\" android:layout_span=\"2\"> with two <RadioButtons>

I have a <RadioGroup android:orientation="horizontal" android:layout_span="2">

with two <RadioButtons>

I need to span in 开发者_如何学JAVAa <TableRow>

But only the first button shows.

The snippet is here: http://pastebin.com/GLVugZWb

Any hints ?


You should set android:layout_width, _height and _weight for radio buttons. Set _weight parameter = 1. Hope this help.

0

精彩评论

暂无评论...
验证码 换一张
取 消