Background
In the Android dialer application, when you start looking for something, and you press the button with the arrow to the left of EditText, you get the effect of a round ripple:

Problem
I also tried, but I have a rectangular one:
<ImageButton android:id="@+id/navButton" android:layout_width="40dp" android:layout_height="40dp" android:layout_gravity="center_vertical" android:layout_marginLeft="8dp" android:background="?android:attr/selectableItemBackground" android:src="@drawable/search_ic_back_arrow"/>
Question
How to make a button with a circular ripple by pressing a button? Should I create a new drawing or is there a built-in way for this?
android button rippledrawable
android developer Aug 11 '15 at 12:26 2015-08-11 12:26
source share