title: Android Button With Background Color And Ripple Effect
body: <p>I have an android button, where I want to give it a background color and both ripple effect</p>
  
  <p>my ripple xml is as below.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;ripple xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:color="#BDA0CB"
      tools:targetApi="lollipop"&gt;
      &lt;item android:id="@android:id/mask"&gt;
          &lt;shape android:shape="rectangle"&gt;
              &lt;solid android:color="#BDA0CB" /&gt;
          &lt;/shape&gt;
      &lt;/item&gt;
  &lt;/ripple&gt;
  </code></pre>
  
  <p>and my button is </p>
  
  <pre><code> &lt;Button android:id="@+id/Button_activity_login_ViewProfile" style="?android:textAppearanceSmall"
          android:layout_width="fill_parent" android:layout_height="wrap_content"
          android:layout_marginTop="16dp" android:text="Save"
          android:textStyle="bold"
          android:layout_marginLeft="@dimen/margin_left"
          android:layout_marginRight="@dimen/margin_right"
          android:textColor="#ffffffff"
          android:fontFamily="sans-serif"
          android:background="#ff7e51c2" /&gt;
  </code></pre>
  
  <p>To give the ripple effect I have to remove background color...Is there a way I can keep both.</p>