开发者

Handle two radio buttons in a table layout

In a table layout, there are two radio buttons in two rows. Is there any way to tie them as a group (as in radio group)? That means, user can check only one radio button at a time.

I tried to handle the logic 开发者_高级运维at the event invocation using listener interfaces.

Any thoughts on a better way around?

Thanks in advance!


Implement setOnCheckedChangeListener(listener) on the radio buttons. When you get call in one radio button then uncheck other radio buttons.....

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜