How to Make GridLayout Background Transparent?
<p>I am implementing GridLayout in a recycler view with Images loading from the drawable folder.</p>

<p><a href="http://i.stack.imgur.com/qVbx2.jpg" rel="nofollow">Image Link here</a></p>

<p>So as you can see , the background is white and I want to make it Transparent, 
My XML code for this layout is</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;


&lt;android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:card_view="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="#000"
    android:id="@+id/card"
    card_view:cardCornerRadius="3dp"
    card_view:cardElevation="2dp"
    card_view:cardUseCompatPadding="true"&gt;
&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:card_view="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"&gt;

    &lt;ImageView
        android:id="@+id/image"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:padding="4dp"
        android:scaleType="centerCrop" /&gt;
    &lt;TextView
        android:id="@+id/text"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:textAlignment="center"
        android:text="Abcd"
        android:textSize="18dp"
        android:textStyle="bold"
        android:textAllCaps="true"
        android:textColor="#ffffff"
        android:layout_marginTop="140dp"/&gt;
&lt;/RelativeLayout&gt;


&lt;/android.support.v7.widget.CardView&gt;
</code></pre>

<p>I have tried a lot of things that such as :-</p>

<ul>
<li>Making Recycler View's alpha as 0</li>
<li>Card View's Alpha as 0</li>
<li>Setting Card Background Color to Transparent and setting Max Elevation to 0 so as to reduce the shadow</li>
</ul>

<p>Still, I am not able to get the transparent Background. Can anyone suggest a new way?</p>

<p>Also , <strong>the Images used are Vector Images with transparent background.</strong></p>

<p><strong>UPDATE</strong></p>

<p>It works now ,Thanks to @Adley<br>
I just had to remove the card layout that i was using and cast into a normal relative layout</p>