Skip to content Skip to sidebar Skip to footer

Android Spinner Dim Background

I have a spinner hidden in my application and I show it when a button is pressed ( performClick... ). What I want is, when the spinner is displayed, to dim the background so focus

Solution 1:

You can place a full layout view with white or black background between the spinner and other elements and animate its alpha in/out when the spinner appears/disappears. At the end of "out" animation you need to set it's visibility to View.GONE to disallow it to gather user's clicks.


Post a Comment for "Android Spinner Dim Background"