title: how i i can transparent background on android studio?
body: <p>i want to design a layout exactly like image below.</p>
  
  <p>when i put my linear layout alpha as transparent , all icons inside it also become transparent and its completely normal. but i want a way to just have transparent background not all items !</p>
  
  <p>i want a transparent layout like this:</p>
  
  <p><a href="https://i.stack.imgur.com/MMA75.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MMA75.jpg" alt="enter image description here"></a></p>
  
  <p>but my layout shows like this :</p>
  
  <p><a href="https://i.stack.imgur.com/YioF7.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YioF7.jpg" alt="enter image description here"></a></p>
  
  <p>here is my code :</p>
  
  <pre><code>    &lt;LinearLayout
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:layout_marginTop="100dp"
      android:background="@color/colorPrimary"
      android:orientation="vertical"
      android:alpha="0.5"
      &gt;
  
  
  
      &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
          android:orientation="horizontal"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:alpha="1"
          &gt;
  
          &lt;RelativeLayout
              android:layout_width="1dip"
              android:layout_height="fill_parent"
              android:layout_weight="0.333"
              android:padding="10dp"
              &gt;
  
              &lt;ImageView
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:background="@mipmap/consert"
                  android:layout_gravity="center_horizontal"
                  /&gt;
  
          &lt;/RelativeLayout&gt;
          &lt;RelativeLayout
              android:layout_width="1dip"
              android:layout_height="fill_parent"
              android:layout_weight="0.333"
              android:padding="10dp"&gt;
  
              &lt;ImageView
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:background="@mipmap/consert"
                  android:layout_gravity="center_horizontal"
                  /&gt;
  
          &lt;/RelativeLayout&gt;
          &lt;RelativeLayout
              android:layout_width="1dip"
              android:layout_height="fill_parent"
              android:layout_weight="0.333"
              android:padding="10dp"&gt;
  
              &lt;ImageView
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:background="@mipmap/consert"
                  android:layout_gravity="center_horizontal"
                  /&gt;
  
          &lt;/RelativeLayout&gt;
      &lt;/LinearLayout&gt;
  
  
  
      &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
          android:orientation="horizontal"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          &gt;
  
          &lt;RelativeLayout
              android:layout_width="1dip"
              android:layout_height="fill_parent"
              android:layout_weight="0.333"&gt;
  
              &lt;ImageView
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:background="@mipmap/consert"
                  android:layout_gravity="center_horizontal"
                  /&gt;
  
          &lt;/RelativeLayout&gt;
          &lt;RelativeLayout
              android:layout_width="1dip"
              android:layout_height="fill_parent"
              android:layout_weight="0.333"&gt;
  
              &lt;ImageView
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:background="@mipmap/consert"
                  android:layout_gravity="center_horizontal"
                  /&gt;
  
          &lt;/RelativeLayout&gt;
          &lt;RelativeLayout
              android:layout_width="1dip"
              android:layout_height="fill_parent"
              android:layout_weight="0.333"&gt;
  
              &lt;ImageView
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:background="@mipmap/consert"
                  android:layout_gravity="center_horizontal"
                  /&gt;
  
          &lt;/RelativeLayout&gt;
      &lt;/LinearLayout&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>