title: How to make a RelativeLayout semi-transparent but not the activity
body: <p>I want to make a RelativeLayout in side a RelativeLayout semi-transparent. </p>
  
  <p>Its a item for the footer. which is always visible, but I just want to make it 50% transparent of a black color.</p>
  
  <p>I Have tried to use #11000000 Alpha channel, but still dont work.</p>
  
  <p>Thanks</p>
  
  <pre><code>&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:orientation="vertical"
      tools:context="com.app.photoapp.MainActivity" &gt;
  
  
  
      &lt;GridView
              android:id="@+id/gridview"        
              android:layout_width="fill_parent"
              android:layout_height="fill_parent"
              android:layout_above="@+id/ly_footer_text"
              android:alwaysDrawnWithCache="true"        
              android:clipChildren="true"
              android:columnWidth="100dp"
              android:gravity="center_horizontal"
              android:horizontalSpacing="2dp"
              android:numColumns="3"
              android:padding="0dp"
              android:scrollingCache="true"
              android:smoothScrollbar="true"
              android:stretchMode="columnWidth"
              android:verticalSpacing="2dp" /&gt;
  
  
          &lt;!-- Footer  THIS LAYOUT TO MAKE SEMI-TRANSPARENT --&gt;
          &lt;RelativeLayout
              android:id="@+id/ly_footer_text"    
              android:layout_width="match_parent"
              android:layout_height="40dp"
              android:background="#11000000"
              android:layout_alignParentBottom="true" &gt;
  
                  &lt;TextView
                      android:id="@+id/tv_footer_left"
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:layout_alignParentLeft="true"
                      android:layout_centerVertical="true"
                      android:layout_marginLeft="10dp"
                      android:text="@string/footer_sub_text"
                      android:textColor="#999999"
                      android:textSize="12sp" /&gt;
  
                  &lt;TextView
                      android:id="@+id/tv_footer_right"
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:layout_alignBaseline="@+id/tv_footer_left"
                      android:layout_alignBottom="@+id/tv_footer_left"
                      android:layout_alignParentRight="true"
                      android:layout_marginRight="10dp"
                      android:text="@string/footer_tnc"
                      android:textColor="#999999"
                      android:textSize="12sp" /&gt;
  
          &lt;/RelativeLayout&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>