title: How to make a curved layout like the one in the photo
body: <p>I am trying to make the layout below (picture 1) like the one in the photo (picture 2) but I don't know how to implement it. Any ideas?</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  
    &lt;!-- Background --&gt;
    &lt;item&gt;
      &lt;shape android:shape="rectangle"&gt;
          &lt;solid android:color="#2b2c2e" /&gt;
          &lt;size android:height="100dp"
              android:width="100dp"/&gt;
      &lt;/shape&gt;
    &lt;/item&gt;
  
    &lt;!-- Curved shape --&gt;
    &lt;item&gt;
      &lt;shape
          android:shape="rectangle"&gt;
          &lt;stroke
              android:width="0.5dp"
              android:color="#1d1d20" /&gt;
          &lt;corners
              android:bottomLeftRadius="10dp"
              android:bottomRightRadius="30dp"
              android:topLeftRadius="150dp"
              android:topRightRadius="10dp" /&gt;
          &lt;gradient
              android:angle="45"
              android:endColor="#1f5993"
              android:centerColor="#316bb7"
              android:startColor="#1f5993" /&gt;
      &lt;/shape&gt;
    &lt;/item&gt;
  
  &lt;/layer-list&gt;
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/G3hI7m.png" alt="xml">
  <img src="https://i.stack.imgur.com/9YDPam.png" alt="Curved Button"></p>