title: how to make specific button side curved
body: <pre><code>&lt;shape xmlns:android="http://schemas.android.com/apk/res/android"
      android:shape="rectangle"&gt;
      &lt;solid android:color="@color/white" /&gt;
      &lt;corners
          android:bottomLeftRadius="30dp"
          android:topLeftRadius="30dp" /&gt;
  &lt;/shape&gt;
  
  &lt;Button
     android:id="@+id/btn_list"
     android:layout_width="@dimen/width_100dp"
     android:layout_height="wrap_content"
     android:background="@drawable/my_background"/&gt;
  </code></pre>
  
  <p>Tried the above code but it does not work for me. do i need to make a custom class extending button class.</p>
  
  <p><a href="https://i.stack.imgur.com/6KRsu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6KRsu.png" alt="Should display like this"></a></p>