title: How to create a wave effect like this using drawable xml file using layer list
body: <p>I want to set it as background so basically i need an xml code using layer list or something.Can some one help me with it please.</p>
  
  <p><img src="https://i.stack.imgur.com/Xmwp8.jpg" alt="i want the wave view as shown in the image"></p>
  
  <p>i have something like this with me </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;item
      android:height="50dp"
      android:gravity="bottom"&gt;
      &lt;shape android:shape="rectangle"&gt;
          &lt;solid android:color="#ffff0000" /&gt;
      &lt;/shape&gt;
  &lt;/item&gt;
  &lt;item
      android:width="500dp"
      android:height="60dp"
      android:gravity="bottom|center_horizontal"
      android:top="-0dp"&gt;
      &lt;shape android:shape="oval"&gt;
          &lt;solid android:color="#ffffffff" /&gt;
      &lt;/shape&gt;
  &lt;/item&gt;
  &lt;item
      android:height="20dp"
      android:bottom="30dp"
      android:gravity="bottom"&gt;
      &lt;shape android:shape="rectangle"&gt;
          &lt;solid android:color="#ffffffff" /&gt;
      &lt;/shape&gt;
  &lt;/item&gt;
  </code></pre>
  
  <p></p>