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.
精彩评论