synth-android
synth-android copied to clipboard
Disabled state of button causing weird rectangular shadow
If I disable the button using isEnabled=false, it causes a weird rectangular shadow around the button. Any fix for the same? The button works fine for enabled state.

Have you used clipChildren = false on parent? If yes then most likely your shadows are getting outside your parent’s bounds too. So you’ll also have to add clipChildren = false to the next immediate parent.