My Xml code:
<Button
android:id="@+id/link_btn"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/google_btn" />
I am applying Default ripple effect
<Button
android:id="@+id/link_btn"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:attr/selectableItemBackground" />
but I need button background "@drawable/google_btn"
with
"?android:attr/selectableItemBackground"
. it's means i need ripple effect with custom background.