title: Android Button with rounded corners, ripple effect and no shadow
body: <p>I am trying to build Android Button with rounded corners. But along the rounded corners (bottom left &amp; right corner), there is unwanted grey color shadow around it.</p>
  
  <p><a href="https://i.stack.imgur.com/kKScT.png" rel="noreferrer"><img src="https://i.stack.imgur.com/kKScT.png" alt="rounded corner button"></a></p>
  
  <p>Here's my code:</p>
  
  <p><code>drawable/my_button.xml</code></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
    &lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;item&gt;
        &lt;shape android:shape="rectangle"&gt;
          &lt;stroke android:width="1dp" android:color="#ffa6c575" /&gt;
          &lt;solid android:color="#ffa6c575"/&gt;
          &lt;corners android:radius="15dp" /&gt;
        &lt;/shape&gt;
      &lt;/item&gt;
    &lt;/selector&gt;
  </code></pre>
  
  <p>Then in layout xml file, I have:</p>
  
  <pre><code>&lt;LinearLayout
    &lt;Button
      android:id="@+id/buy_button"
      android:layout_width="0dp"
      android:layout_weight="1"
      android:layout_height="35dp"
      android:layout_gravity="center"
      android:background="@drawable/my_button"
      android:textColor="@android:color/white"
      android:text="BUY" /&gt;
  
    &lt;View
      android:layout_width="10dp"
      android:layout_height="match_parent"
      android:background="@android:color/transparent" &gt;
    &lt;/View&gt;
  
    &lt;Button
      android:id="@+id/sell_button"
      android:layout_width="0dp"
      android:layout_weight="1"
      android:layout_height="35dp"
      android:layout_gravity="center"
      android:background="@drawable/my_button"
      android:textColor="@android:color/white"
      android:text="SELL" /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>1) How can I get rid of the extra grey color shadow around rounded corners (bottom left &amp; right corner)?</p>
  
  <p>2) Button has default ripple effect. How can I maintain the default ripple effect?</p>