开发者

How to add radioButton elements to spinner

I have a spinner to which I have to add list with radio buttons. How should开发者_Python百科 I do it?


You need to define a custom layout for the items of the spinner in drop down mode and also implement a custom adapter which uses this layout and handles the radio buttons. Check this tutorial to see how the customization of an adapter works.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜