title: RelativeLayout Background Image is not Filling its Layout
body: <p>This is how it shows---</p>
  
  <p><a href="https://i.stack.imgur.com/HHLOQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HHLOQ.png" alt="enter image description here"></a></p>
  
  <p>The XML is as below</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="178dp"
      android:orientation="vertical"
      android:background="@mipmap/background_poly"
      android:scaleType="fitXY"
      android:weightSum="1"&gt;
  
  &lt;LinearLayout
      android:layout_width="match_parent"
      android:layout_height="56dp"
      android:orientation="vertical"
      android:layout_alignParentBottom="true"
      android:layout_alignParentLeft="true"
      android:layout_alignParentStart="true"&gt;
  
      &lt;TextView
          android:id="@+id/name"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginLeft="16dp"
          android:textColor="#ffffff"
          android:text="Xxxxx Xxxx"
          android:textSize="14sp"
          android:textStyle="bold"
  
          /&gt;
  
      &lt;TextView
          android:id="@+id/email"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:textColor="#ffffff"
          android:layout_marginLeft="16dp"
          android:layout_marginTop="5dp"
          android:text="xxxxxxxx@xxxx.com"
          android:textSize="14sp"
          android:textStyle="normal"
  
          /&gt;
  &lt;/LinearLayout&gt;
  
  &lt;de.hdodenhof.circleimageview.CircleImageView
      android:layout_width="70dp"
      android:layout_height="70dp"
      android:src="@mipmap/aka"
      android:layout_marginLeft="16dp"
      android:layout_marginTop="38dp"
      android:id="@+id/circleView"
      /&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>I want the background image to fill the relative layout fully.</p>
  
  <p>I tried using the scaleType to **fitXY , center_crop ** etc</p>
  
  <p>I have even tried adding a ImageView into the RelativeLayout and set its as below</p>
  
  <pre><code>&lt;ImageView 
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:layout_centerInParent="true"
          android:scaleType="centerCrop"
          android:src="@drawable/background" /&gt;
  </code></pre>
  
  <p>it did not work...</p>
  
  <p>Help is appreciated, thanks...</p>