Method 1: To Add Ripple Effect/Animation to a Android Button Just replace your button background attribute with android:background="?attr/selectableItemBackground" and your code looks like this. < Button android : layout_width = " match_parent " android : layout_height = " wrap_content " android : background = " ?attr/selectableItemBackground " android : text = " Click Me " /> view raw button_ripple_effect.xml hosted with ❤ by GitHub Method 2: To Add Ripple Effect/Animation to a Android Button Using this method, you can customize ripple effect color. First, you have to create a xml file in your drawable resource directory. Create a ripple_effect.xml file and add following code. res/drawable/ripple_effect.xml <? xml version = " 1.0 " encoding = " utf-8 " ?> < ripple xmlns : android = " http://schemas.android.com/apk/res/andr...