title: Custom shaped Linearlayout with curved side in android
body: <p>I am trying to make a custom shaped linearlayout like below</p>
  
  <p><a href="https://i.stack.imgur.com/KirX6.png"><img src="https://i.stack.imgur.com/KirX6.png" alt="enter image description here"></a></p>
  
  <p>I am trying to make only one side curved. Tried with corner radius but it doesn't give the same look as above.</p>
  
  <p>Already tried this background shape as below :-</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;shape xmlns:android="http://schemas.android.com/apk/res/android"
      android:shape="rectangle"&gt;
      &lt;solid android:color="#3F51B5" /&gt;
  
      &lt;padding
          android:bottom="7dp"
          android:left="7dp"
          android:right="7dp"
          android:top="7dp" /&gt;
  
      &lt;corners
          android:bottomLeftRadius="50dp"
          android:bottomRightRadius="50dp"
          android:topLeftRadius="0dp"
          android:topRightRadius="0dp" /&gt;
  &lt;/shape&gt;
  </code></pre>
  
  <p>it rounds only corners and on increasing the value shape is not preserved it gets too circular. I WANT CURVED line and not rounded corners</p>