I just showing the spinner with multiple choice based on this stackoverflow answer(see @Destil answer). Here my problem is I can’t re size the Height of the items in Spinner with multiple choice. How to re size the Height of each Items?
I just showing the spinner with multiple choice based on this stackoverflow answer(see @Destil
Share
As i know, you will have to use a custom adapter, and override the getDropDown and the getView methods. You will be able to customize each item customizing the layout.
Well… words are good, example better, try something like that :
And the layout :
(But it’s just an sample, if you want to resize depending on the selection, you can add a boolean mSelected on each object and change the view depending on this boolean)
Edit : Then in the MultiSpinner :
Remove this :
and add the new custom adapter in the spinner :