I have searched and tryed all found solutions to this.
I need to remove the shadow from a button in android.
Most of the solutions i found involve using an imagebutton and setti
Alternative for Attribute stateListAnimator used in API level 21 - I wrapped button inside a linear layout, both having same dimensions. Worked for my case.