开发者

How to add radioButton elements to spinner

开发者 https://www.devze.com 2023-03-06 16:30 出处:网络
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 implemen

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

精彩评论

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