SyntaxFix
Write A Post
Hire A Developer
Questions
A simpler way to do is adding this tag to your button:
android:stateListAnimator="@null"
though it requires API level 21 or more..