Styling Spinner gives duplicates


Styling Spinner gives duplicates



Spinner with dark bg



Above is my desired output for the spinner, but with transparent bg.


<style name="spinnerStyle">
<item name="android:textColor">@android:color/white</item>
<item name="android:background">@android:color/transparent</item>
</style>



Above gives transparency to only when spinner is not selected.



I tried setting popupBackground to transparent but gives me the below result with duplicate item and also weird spacing.


popupBackground



enter image description here



Is there any way to just make the bg transparent in the first output easily?



Thanks.









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Boo (programming language)

How to make file upload 'Required' in Contact Form 7?