Skip to content Skip to sidebar Skip to footer

Does Setshadowlayer() Work On A Button?

I'm trying to change the drop shadow of the text in a button and I can't get it working. I want to change the color based on the state of the button. I tried using a color select

Solution 1:

This method is used to change the shadow on the text contained inside the button (also, you should bass android.R.color.black directly, it's the ID of the black color, not the color itself, see the Resources class for more info.)


Post a Comment for "Does Setshadowlayer() Work On A Button?"