In my source code I have two Spinner views, one is loaded using the entries attribute in the XML file, the other through an ArrayAdapter. I like how the layout of the version in the XML looks, when clicked it has a radio selection type look. I set the layout file of the ArrayAdapter to simple_spinner_item. Before selecting the spinner in the app, the two spinners look identical. When selected though it’s just a simple and pretty small list, barely even big enough to click an item from. How do I change it to be like the entries one?
Share
You can customize it with the ArrayAdapter.setDropDownViewResource() method: