I have one spinner in a fragment that have a very annoying graphical glitch. This occurs only on my Nexus 5 with API 21.
I have try to set spinner.setLayerType(View.LAYER_TYPE_SOFTWARE, null) but the glitch is still present. Any ideas?
I have one spinner in a fragment that have a very annoying graphical glitch. This occurs only on my Nexus 5 with API 21.
I have try to set spinner.setLayerType(View.LAYER_TYPE_SOFTWARE, null) but the glitch is still present. Any ideas?
I managed to work around this bug in two different ways:
Set a style to your spinner:
maybe the background color in the predefined styles is enough for you. If not try
Create a shape drawable with a corner radius:
and set it as a popupBackground to your spinner
hope this is helpful!