How to set button background drawable image with ripple effect in android
<p>My Xml code:</p>

<pre><code>&lt;Button
    android:id="@+id/link_btn"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="@drawable/google_btn" /&gt;
</code></pre>

<p>I am applying Default ripple effect </p>

<pre><code>&lt;Button
    android:id="@+id/link_btn"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="?android:attr/selectableItemBackground" /&gt;
</code></pre>

<p>but I need button background <code>"@drawable/google_btn"</code> with<br>
<code>"?android:attr/selectableItemBackground"</code>. it's means i need  ripple effect with custom background. </p>