title: Android - How to edit RelativeLayout shape
body: <p>I'm using a pop up window as <code>Activity class</code> with a layout, when the <code>button</code> is pressed, a pop up window will appear. what I want is to edit the <code>shape</code> of my pop up window that is a <code>RelativeLayout</code>. thanks</p>
  
  <p>this is my pop_up.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:background="@drawable/layout_shape"
      tools:context="com.example.computer.mathkiddofinal.FinalResults.Final_Result_Grade_4"&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>this is my layout_shape
      </p>
  
  <pre><code>    &lt;solid
          android:color="#00B0BE" &gt;
      &lt;/solid&gt;
  
      &lt;stroke
          android:width="2dp"
          android:color="#C4CDE0" &gt;
      &lt;/stroke&gt;
  
      &lt;padding
          android:left="5dp"
          android:top="5dp"
          android:right="5dp"
          android:bottom="5dp"    &gt;
      &lt;/padding&gt;
  
      &lt;corners
          android:radius="40dp"   &gt;
      &lt;/corners&gt;
  
  &lt;/shape&gt;
  </code></pre>
  
  <p>A screenshot from my XML, i want to remove that whitespace on the side, i know its from the layout background, can i use transparency? because this will pop up on other layout activity so i need only is the blue shape. btw the layout code is from @Sabari thanks</p>
  
  <p><a href="https://i.stack.imgur.com/GEaz0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GEaz0.png" alt="enter image description here"></a></p>